|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PBNetManager
is the interface that should be implemented by an
object that provides an interface to a particular peer network.
Method Summary | |
PBApplication |
createApplication(AppDescriptor app,
Authority[] authorities)
Returns a PBApplication object |
PBEntityManager |
getEntityManager()
Return an entitymanager that stores known peers from the peer network. |
PBNet |
getNetwork()
Returns a PBNetwork describing the type of network that this
manager supports. |
PBPeer |
getThisPeer()
Returns a PBPeer that represents this entity. |
PBPeerGroup |
getWorldGroup()
Returns the base group in which top level entities can be found. |
void |
init()
Initialize the net manager. |
void |
removeApplication(PBApplication app)
Remove an application |
void |
shutdown()
Shutdown the net manager. |
Method Detail |
public void init()
public void shutdown()
public PBNet getNetwork()
PBNetwork
describing the type of network that this
manager supports.public PBPeer getThisPeer()
PBPeer
that represents this entity.public PBApplication createApplication(AppDescriptor app, Authority[] authorities)
PBApplication
objectdescriptor
- a descriptor submitted by the application to describe
itselfpublic void removeApplication(PBApplication app)
public PBPeerGroup getWorldGroup()
public PBEntityManager getEntityManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |