|
Project JXTA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jxta.id.ID
net.jxta.peer.PeerID
net.jxta.impl.id.UUID.PeerID
net.jxta.impl.id.CBID.PeerID
public class PeerID
An implementation of the PeerID ID Type.
| Field Summary |
|---|
| Fields inherited from class net.jxta.impl.id.UUID.PeerID |
|---|
groupIdOffset, id, idOffset, padOffset, padSize |
| Fields inherited from class net.jxta.id.ID |
|---|
nullID, URIEncodingName, URNNamespace |
| Constructor Summary | |
|---|---|
protected |
PeerID()
Used only internally. |
protected |
PeerID(IDBytes id)
Intializes contents from provided ID. |
|
PeerID(PeerGroupID groupID)
See IDFactory.Instantiator.newPeerID(net.jxta.peergroup.PeerGroupID). |
|
PeerID(PeerGroupID groupID,
byte[] seed)
See IDFactory.Instantiator.newPeerID(net.jxta.peergroup.PeerGroupID,byte[]). |
protected |
PeerID(UUID groupUUID,
UUID peerUUID)
Creates a PeerID. |
| Method Summary | |
|---|---|
String |
getIDFormat()
|
ID |
getPeerGroupID()
|
UUID |
getUUID()
Returns the UUID associated with this PeerID. |
| Methods inherited from class net.jxta.impl.id.UUID.PeerID |
|---|
equals, getUniqueValue, getURL, hashCode, toURI |
| Methods inherited from class net.jxta.id.ID |
|---|
clone, create, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected PeerID()
public PeerID(PeerGroupID groupID)
IDFactory.Instantiator.newPeerID(net.jxta.peergroup.PeerGroupID).
protected PeerID(IDBytes id)
id - the ID data
public PeerID(PeerGroupID groupID,
byte[] seed)
IDFactory.Instantiator.newPeerID(net.jxta.peergroup.PeerGroupID,byte[]).
protected PeerID(UUID groupUUID,
UUID peerUUID)
groupUUID - the group to which this will belong.peerUUID - id of this peer| Method Detail |
|---|
public String getIDFormat()
getIDFormat in class PeerIDpublic ID getPeerGroupID()
getPeerGroupID in class PeerIDpublic UUID getUUID()
|
JXTA J2SE | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||