|
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
An implementation of the PeerID ID Type.
| Field Summary | |
protected static int |
groupIdOffset
|
protected IDBytes |
id
The id data |
protected static int |
idOffset
|
protected static int |
padOffset
|
protected static int |
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 idUUID)
Creates a PeerID. |
| Method Summary | |
boolean |
equals(Object target)
|
String |
getIDFormat()
|
ID |
getPeerGroupID()
|
Object |
getUniqueValue()
|
URL |
getURL()
|
int |
hashCode()
|
URI |
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 |
| Field Detail |
protected static final int groupIdOffset
protected static final int idOffset
protected static final int padOffset
protected static final int padSize
protected IDBytes id
| Constructor Detail |
protected PeerID()
protected PeerID(IDBytes id)
id - the ID data
protected PeerID(UUID groupUUID,
UUID idUUID)
groupUUID - the UUID of the group to which this will belong.idUUID - the UUID which will be used for this pipe.public PeerID(PeerGroupID groupID)
IDFactory.Instantiator.newPeerID(net.jxta.peergroup.PeerGroupID).
public PeerID(PeerGroupID groupID,
byte[] seed)
IDFactory.Instantiator.newPeerID(net.jxta.peergroup.PeerGroupID,byte[]).
| Method Detail |
public boolean equals(Object target)
public int hashCode()
public String getIDFormat()
public Object getUniqueValue()
public URL getURL()
public ID getPeerGroupID()
public URI toURI()
|
JXTA J2SE | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||