Project JXTA

net.jxta.peer
Class PeerID

java.lang.Object
  extended by net.jxta.id.ID
      extended by net.jxta.peer.PeerID
All Implemented Interfaces:
Serializable

public abstract class PeerID
extends ID

This class implements a PeerID. Each peer is assigned a unique peer id.

See Also:
ID, IDFactory, PeerGroupID, Serialized Form

Field Summary
 
Fields inherited from class net.jxta.id.ID
nullID, URIEncodingName, URNNamespace
 
Constructor Summary
PeerID()
           
 
Method Summary
abstract  ID getPeerGroupID()
          Returns PeerGroupID of the Peer Group to which this Peer ID belongs.
 
Methods inherited from class net.jxta.id.ID
clone, create, getIDFormat, getUniqueValue, getURL, toString, toURI
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeerID

public PeerID()
Method Detail

getPeerGroupID

public abstract ID getPeerGroupID()
Returns PeerGroupID of the Peer Group to which this Peer ID belongs.

Returns:
PeerGroupID of the Peer Group which this ID is part of.

JXTA J2SE