Project JXTA

net.jxta.peer
Class PeerID

java.lang.Object
  |
  +--net.jxta.id.ID
        |
        +--net.jxta.peer.PeerID
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public abstract class PeerID
extends ID

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

Since:
JXTA 1.0
Version:
$Revision: 1.13 $
See Also:
ID, IDFactory, PeerGroupID, Serialized Form

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, getIDFormat, getUniqueValue, getURL, toString
 
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.
Since:
JXTA 1.0

Project JXTA