hla.rti1516
Interface ObjectInstanceHandle
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- DimensionHandleImpl, MessageRetractionHandleImpl, ObjectInstanceHandleImpl, RegionHandleImpl, UUIDHandle
public interface ObjectInstanceHandle
- extends java.io.Serializable
Type-safe handle for an object instance. Generally these are created by the
RTI and passed to the user.
equals
boolean equals(java.lang.Object otherObjectInstanceHandle)
- Overrides:
equals in class java.lang.Object
- Returns:
- true if this refers to the same instance as other handle
hashCode
int hashCode()
- Overrides:
hashCode in class java.lang.Object
- Returns:
- int. All instances that refer to the same instance should return
the same hascode.
encodedLength
int encodedLength()
encode
void encode(byte[] buffer,
int offset)
toString
java.lang.String toString()
- Overrides:
toString in class java.lang.Object