|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.XRTIInteractionClassHandle
Type-safe handle for an interaction class. Generally these are created by the run-time infrastructure and passed to the user.
| Constructor Summary | |
protected |
XRTIInteractionClassHandle(long pIdentifier)
Constructor. |
| Method Summary | |
void |
encode(byte[] buffer,
int offset)
Encodes this interaction class handle, placing the result into the specified buffer. |
int |
encodedLength()
Returns the encoded length of this interaction class handle. |
boolean |
equals(java.lang.Object otherInteractionClassHandle)
Checks this interaction class 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 interaction class. |
java.lang.String |
toString()
Returns a string representation of this interaction class handle. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected XRTIInteractionClassHandle(long pIdentifier)
pIdentifier - the interaction class identifier| Method Detail |
protected long getIdentifier()
public boolean equals(java.lang.Object otherInteractionClassHandle)
equals in interface InteractionClassHandleotherInteractionClassHandle - the other interaction class handle to compare
this to
true if this refers to the same interaction class as other handle,
false otherwisepublic int hashCode()
hashCode in interface InteractionClassHandlepublic int encodedLength()
encodedLength in interface InteractionClassHandle
public void encode(byte[] buffer,
int offset)
encode in interface InteractionClassHandlebuffer - the buffer to contain the encoded valueoffset - the offset within the buffer at which to store the valuepublic java.lang.String toString()
toString in interface InteractionClassHandle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||