Project JXTA

net.jxta.impl.id.CBID
Class PipeID

java.lang.Object
  extended by net.jxta.id.ID
      extended by net.jxta.pipe.PipeID
          extended by net.jxta.impl.id.UUID.PipeID
              extended by net.jxta.impl.id.CBID.PipeID
All Implemented Interfaces:
Serializable

public class PipeID
extends PipeID

An implementation of the PipeID ID Type.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.jxta.impl.id.UUID.PipeID
groupIdOffset, id, idOffset, padOffset, padSize
 
Fields inherited from class net.jxta.id.ID
nullID, URIEncodingName, URNNamespace
 
Constructor Summary
protected PipeID()
          Used only internally
protected PipeID(IDBytes id)
          Constructor.
  PipeID(PeerGroupID groupID)
          See IDFactory.Instantiator.newPipeID(net.jxta.peergroup.PeerGroupID).
  PipeID(PeerGroupID groupID, byte[] seed)
          See IDFactory.Instantiator.newPipeID(net.jxta.peergroup.PeerGroupID,byte[]).
protected PipeID(UUID groupUUID, UUID idUUID)
          Creates a PipeID.
 
Method Summary
 String getIDFormat()
          
 ID getPeerGroupID()
          
 UUID getUUID()
          Returns the UUID associated with this PipeID.
 
Methods inherited from class net.jxta.impl.id.UUID.PipeID
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

PipeID

protected PipeID()
Used only internally


PipeID

protected PipeID(IDBytes id)
Constructor. Intializes contents from provided ID.

Parameters:
id - the ID data

PipeID

protected PipeID(UUID groupUUID,
                 UUID idUUID)
Creates a PipeID. A PeerGroupID is provided

Parameters:
groupUUID - the UUID of the group to which this will belong.
idUUID - the UUID which will be used for this pipe.

PipeID

public PipeID(PeerGroupID groupID)
See IDFactory.Instantiator.newPipeID(net.jxta.peergroup.PeerGroupID).


PipeID

public PipeID(PeerGroupID groupID,
              byte[] seed)
See IDFactory.Instantiator.newPipeID(net.jxta.peergroup.PeerGroupID,byte[]).

Method Detail

getIDFormat

public String getIDFormat()

Overrides:
getIDFormat in class PipeID

getPeerGroupID

public ID getPeerGroupID()

Overrides:
getPeerGroupID in class PipeID

getUUID

public UUID getUUID()
Returns the UUID associated with this PipeID.

Returns:
The UUID associated with this PipeID.

JXTA J2SE