|
Project JXTA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.jxta.peergroup.PeerGroup.GlobalRegistry
| Constructor Summary | |
PeerGroup.GlobalRegistry()
|
|
| Method Summary | |
PeerGroup |
lookupInstance(PeerGroupID gid)
Returns a running instance of the peergroup with given ID if any exists. |
boolean |
registerInstance(PeerGroupID gid,
PeerGroup pg)
Registers a new instance. |
boolean |
unRegisterInstance(PeerGroupID gid,
PeerGroup pg)
Unregisters a group instance (normaly because the grou is being stopped. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PeerGroup.GlobalRegistry()
| Method Detail |
public boolean registerInstance(PeerGroupID gid,
PeerGroup pg)
gid - the ID of the group of which an instance is being registered.pg - the group instance being registered.
public boolean unRegisterInstance(PeerGroupID gid,
PeerGroup pg)
gid - the ID of the group of which an instance is unregistered.pg - the group instance itself (serves as a creadential).public PeerGroup lookupInstance(PeerGroupID gid)
gid - the id of the group of which an instance is wanted.
|
Project JXTA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||