hla.rti1516
Interface FederateHandle

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DimensionHandleImpl, FederateHandleImpl, MessageRetractionHandleImpl, RegionHandleImpl, UUIDHandle

public interface FederateHandle
extends java.io.Serializable

Type-safe handle for a federate handle. Generally these are created by the RTI and passed to the user.


Method Summary
 void encode(byte[] buffer, int offset)
           
 int encodedLength()
           
 boolean equals(java.lang.Object otherFederateHandle)
           
 int hashCode()
           
 java.lang.String toString()
           
 

Method Detail

equals

boolean equals(java.lang.Object otherFederateHandle)
Overrides:
equals in class java.lang.Object
Returns:
true if this refers to the same federate as other handle

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object
Returns:
int. All instances that refer to the same federate should return the same hashcode.

encodedLength

int encodedLength()

encode

void encode(byte[] buffer,
            int offset)

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object