org.npsnet.xrti
Class XRTIMessageRetractionHandle

java.lang.Object
  extended byorg.npsnet.xrti.XRTIMessageRetractionHandle
All Implemented Interfaces:
MessageRetractionHandle, java.io.Serializable

public class XRTIMessageRetractionHandle
extends java.lang.Object
implements MessageRetractionHandle

A handle associated with messages that may be used to request and perform retractions.

Author:
Andrzej Kapolka
See Also:
Serialized Form

Constructor Summary
protected XRTIMessageRetractionHandle(long pIdentifier)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object otherMessageRetractionHandle)
          Checks this message retraction handle for equality with another.
protected  long getIdentifier()
          Returns this handle's unique identifier.
 int hashCode()
          Computes and returns a hash code corresponding to this message retraction handle
 java.lang.String toString()
          Returns a string representation of this message retraction handle.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XRTIMessageRetractionHandle

protected XRTIMessageRetractionHandle(long pIdentifier)
Constructor.

Parameters:
pIdentifier - the message retraction handle identifier
Method Detail

getIdentifier

protected long getIdentifier()
Returns this handle's unique identifier.

Returns:
this handle's unique identifier

equals

public boolean equals(java.lang.Object otherMessageRetractionHandle)
Checks this message retraction handle for equality with another.

Specified by:
equals in interface MessageRetractionHandle
Parameters:
otherMessageRetractionHandle - the other message retraction handle to compare this to
Returns:
true if the message retraction handles are equal, false otherwise

hashCode

public int hashCode()
Computes and returns a hash code corresponding to this message retraction handle

Specified by:
hashCode in interface MessageRetractionHandle
Returns:
a hash code corresponding to this message retraction handle

toString

public java.lang.String toString()
Returns a string representation of this message retraction handle.

Specified by:
toString in interface MessageRetractionHandle
Returns:
a string representation of this message retraction handle