gov.lbl.dsd.p2pio
Class TransactionID
java.lang.Object
gov.lbl.dsd.p2pio.MsgElement
gov.lbl.dsd.p2pio.TransactionID
- public class TransactionID
- extends MsgElement
A transaction (and each message) has a transaction ID, which is a universally unique identifier (UUID)
[aka GUID in the Microsoft world];
All messages of a given transaction carry the same transaction ID;
This implementation automatically generates 128 bit UUIDs in full conformance to
the IETF standard.
- Version:
- $Revision: 1.7 $, $Date: 2004/02/09 21:10:21 $
UNKNOWN
public static final String UNKNOWN
- See Also:
- Constant Field Values
TransactionID
public TransactionID(String uuid)
TransactionID
public TransactionID(org.doomdark.uuid.UUID uuid)
TransactionID
public TransactionID()
- Constructs a "random" transaction id.
getUUID
public String getUUID()
equals
public boolean equals(Object other)
- Returns true if the other object is also a TransactionID with the same internal state.
hashCode
public int hashCode()
Jump to the Firefish Homepage