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
Abstract class AgletStub is used to implement an aglet behavior. It is not normally used by aglet programmers.

Constructor Index

 o AgletStub()

Method Index

 o addCloneListener(CloneListener)
 o addMobilityListener(MobilityListener)
 o addPersistencyListener(PersistencyListener)
 o clone()
 o deactivate(long)
 o dispatch(URL)
 o dispose()
 o getAgletContext()
 o getAgletInfo()
 o getMessageManager()
Gets the aglet's message manager object.
 o getText()
Gets the current content of the Aglet's message line.
 o removeCloneListener(CloneListener)
 o removeMobilityListener(MobilityListener)
 o removePersistencyListener(PersistencyListener)
 o setAglet(Aglet)
 o setText(String)
Sets a aglet's text
 o snapshot()
 o subscribeMessage(String)
 o unsubscribeAllMessages()
 o unsubscribeMessage(String)

Constructors

 o AgletStub
  protected AgletStub()

Methods

 o setAglet
  protected abstract void setAglet(Aglet aglet)
 o 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.
 o getAgletContext
  protected abstract AgletContext getAgletContext()
 o 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
 o getAgletInfo
  protected abstract AgletInfo getAgletInfo()
 o setText
  protected abstract void setText(String text)
Sets a aglet's text
 o subscribeMessage
  protected abstract void subscribeMessage(String name)
 o unsubscribeMessage
  protected abstract boolean unsubscribeMessage(String name)
 o unsubscribeAllMessages
  protected abstract void unsubscribeAllMessages()
 o clone
  protected abstract Object clone() throws CloneNotSupportedException
Overrides:
clone in class Object
 o dispose
  protected abstract void dispose()
 o dispatch
  protected abstract void dispatch(URL url) throws IOException, RequestRefusedException
 o deactivate
  protected abstract void deactivate(long duration) throws IOException
 o snapshot
  protected abstract void snapshot() throws IOException
 o addCloneListener
  protected abstract void addCloneListener(CloneListener l)
 o removeCloneListener
  protected abstract void removeCloneListener(CloneListener l)
 o addMobilityListener
  protected abstract void addMobilityListener(MobilityListener l)
 o removeMobilityListener
  protected abstract void removeMobilityListener(MobilityListener l)
 o addPersistencyListener
  protected abstract void addPersistencyListener(PersistencyListener l)
 o removePersistencyListener
  protected abstract void removePersistencyListener(PersistencyListener l)

All Packages  Class Hierarchy  This Package  Previous  Next  Index