|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for the client that may migrate from one Planet to the other.
Method Summary | |
void |
addListener(MobileHostListener listener)
Add a listener to client mobililty. |
void |
attach(Address address)
Have the client explicitly attch to a Planet. |
void |
detach(Address address)
Have the client explicitly detach from a Planet. |
java.util.List |
getAttachedClients()
Get all the clients currently attached to this Planet. |
Address |
getAttachedServer()
Get the Planet address to which this client is attached. |
boolean |
isAttached()
Detemine whether this client is attched. |
boolean |
isAttached(Address client)
Detemine whether the specified client is attched to this Planet. |
void |
removeListener(MobileHostListener listener)
Remove a listener to client mobililty. |
Methods inherited from interface solar.service.Service |
getName, getServiceManager, handleDispatchUnit, hasInited, init, initDependents, setName, setServiceManager, start, stop |
Methods inherited from interface solar.api.EventHandler |
handleEvent |
Methods inherited from interface solar.api.RequestHandler |
handleRequest |
Method Detail |
public void attach(Address address) throws MobileHostException
MobileHostException
public void detach(Address address) throws MobileHostException
MobileHostException
public boolean isAttached()
public boolean isAttached(Address client)
public Address getAttachedServer()
public java.util.List getAttachedClients()
public void addListener(MobileHostListener listener)
public void removeListener(MobileHostListener listener)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |