Class aglet.AgletStub
All Packages Class Hierarchy This Package Previous Next Index
Class aglet.AgletStub
java.lang.Object
|
+----aglet.AgletStub
- public class AgletStub
- extends Object
抽象クラスAgletStubはagletの振る舞いを実装するのに用いられる.
通常はagletのプログラマに用いられることはない.
-
AgletStub()
-
-
addCloneListener(CloneListener)
-
-
addMobilityListener(MobilityListener)
-
-
addPersistencyListener(PersistencyListener)
-
-
clone()
-
-
deactivate(long)
-
-
dispatch(URL)
-
-
dispose()
-
-
getAgletContext()
-
-
getAgletInfo()
-
-
getMessageManager()
- Gets the aglet's message manager object.
-
getText()
- Gets the current content of the Aglet's message line.
-
removeCloneListener(CloneListener)
-
-
removeMobilityListener(MobilityListener)
-
-
removePersistencyListener(PersistencyListener)
-
-
setAglet(Aglet)
-
-
setText(String)
- Sets a aglet's text
-
snapshot()
-
-
subscribeMessage(String)
-
-
unsubscribeAllMessages()
-
-
unsubscribeMessage(String)
-
AgletStub
protected AgletStub()
setAglet
protected abstract void setAglet(Aglet aglet)
getText
protected abstract String getText()
- Gets the current content of the Aglet's message line.
- Returns:
- the message line.
- Throws: InvalidAgletException
- if the aglet is not valid.
getAgletContext
protected abstract AgletContext getAgletContext()
getMessageManager
protected abstract MessageManager getMessageManager()
- Gets the aglet's message manager object.
- Returns:
- the method manager
- Throws: InvalidAgletException
- if the aglet is not valid.
- See Also:
- MessageManager
getAgletInfo
protected abstract AgletInfo getAgletInfo()
setText
protected abstract void setText(String text)
- Sets a aglet's text
subscribeMessage
protected abstract void subscribeMessage(String name)
unsubscribeMessage
protected abstract boolean unsubscribeMessage(String name)
unsubscribeAllMessages
protected abstract void unsubscribeAllMessages()
clone
protected abstract Object clone() throws CloneNotSupportedException
- Overrides:
- clone in class Object
dispose
protected abstract void dispose()
dispatch
protected abstract void dispatch(URL url) throws IOException, RequestRefusedException
deactivate
protected abstract void deactivate(long duration) throws IOException
snapshot
protected abstract void snapshot() throws IOException
addCloneListener
protected abstract void addCloneListener(CloneListener l)
removeCloneListener
protected abstract void removeCloneListener(CloneListener l)
addMobilityListener
protected abstract void addMobilityListener(MobilityListener l)
removeMobilityListener
protected abstract void removeMobilityListener(MobilityListener l)
addPersistencyListener
protected abstract void addPersistencyListener(PersistencyListener l)
removePersistencyListener
protected abstract void removePersistencyListener(PersistencyListener l)
All Packages Class Hierarchy This Package Previous Next Index