net.jxta.peergroup
Class PeerGroupID
java.lang.Object
net.jxta.id.ID
net.jxta.peergroup.PeerGroupID
- All Implemented Interfaces:
- Serializable
- public abstract class PeerGroupID
- extends ID
This class implements a PeerGroup ID. Each peer group is assigned a
unique id.
- Since:
- JXTA 1.0
- See Also:
ID
,
IDFactory
,
PeerID
,
Serialized Form
worldPeerGroupID
public static final PeerGroupID worldPeerGroupID
- The well known Unique Identifier of the world peergroup.
This is a singleton within the scope of a VM.
defaultNetPeerGroupID
public static final PeerGroupID defaultNetPeerGroupID
- The well known Unique Identifier of the net peergroup.
This is a singleton within the scope of this VM.
PeerGroupID
public PeerGroupID()
getParentPeerGroupID
public abstract PeerGroupID getParentPeerGroupID()
- Returns the parent peer group id of this peer group id, if any.
- Returns:
- the id of the parent peergroup or null if this group has no
parent group.