|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Type-safe handle for a federate. Generally these are created by the RTI and passed to the user.
| Method Summary | |
void |
encode(byte[] buffer,
int offset)
Encodes this federate handle, placing the result into the specified byte array. |
int |
encodedLength()
Returns the encoded length of this federate handle. |
boolean |
equals(java.lang.Object otherFederateHandle)
Tests this federate handle for equality with another. |
int |
hashCode()
Computes and returns the hash code corresponding to this federate handle. |
java.lang.String |
toString()
Returns a string representation of this federate handle. |
| Method Detail |
public boolean equals(java.lang.Object otherFederateHandle)
otherFederateHandle - the other federate handle to compare this to
true if this refers to the same federate as other
handle, false otherwisepublic int hashCode()
public int encodedLength()
public void encode(byte[] buffer,
int offset)
buffer - the buffer to hold the encoded federate handleoffset - the offset within the buffer at which to store the
encoded handlepublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||