@Deprecated
public class EventID
extends java.lang.Object
| Constructor and Description |
|---|
EventID(byte[] idBytes)
Deprecated.
This constructor provides for the unmarshalling of the eventID bytes
that are received over a link
|
EventID(int _entityID,
long _timeStamp,
int _seqNum)
Deprecated.
Constructs a unique EventID based on the entityID, timeStamp,
sequenceNumber and the incarnation associated with the publishing
entity.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
Compares two objects for equality.
|
byte[] |
getBytes()
Deprecated.
This method provides a marshalling of the eventID bytes.
|
int |
getEntityID()
Deprecated.
Returns the entity ID contained in the eventID
|
int |
getSequenceNumber()
Deprecated.
This method returns the sequence number associated with the eventID
instance.
|
long |
getTimeStamp()
Deprecated.
This method returns the timeStamp that is associated with the eventID.
|
int |
hashCode()
Deprecated.
Generates a hash code for the receiver.
|
static void |
main(java.lang.String[] args)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public EventID(byte[] idBytes)
idBytes - A byte stream representation of the event ID.public EventID(int _entityID,
long _timeStamp,
int _seqNum)
_entityID - The entityID_timeStamp - The timestamp associated with the ID._seqNum - The sequence numberpublic int getEntityID()
public long getTimeStamp()
public int getSequenceNumber()
public java.lang.String toString()
toString in class java.lang.Objectpublic byte[] getBytes()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the Object to compare withHashtablepublic int hashCode()
hashCode in class java.lang.Objectpublic static void main(java.lang.String[] args)