org.eodisp.hla.common.handles
Class HandleImpl

java.lang.Object
  extended by org.eodisp.hla.common.handles.HandleImpl
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AttributeHandleImpl, FederateHandleImpl, InteractionClassHandleImpl, LrcHandle, ObjectClassHandleImpl, ObjectInstanceHandleImpl, ParameterHandleImpl

public class HandleImpl
extends java.lang.Object
implements java.io.Serializable

A federation execution wide object class instance handle.

Version:
$Id:$
Author:
ibirrer
See Also:
Serialized Form

Constructor Summary
HandleImpl(int id)
           
 
Method Summary
 void encode(byte[] buffer, int offset)
          
 int encodedLength()
          
 boolean equals(java.lang.Object obj)
          
 int hashCode()
          
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HandleImpl

public HandleImpl(int id)
Method Detail

encode

public void encode(byte[] buffer,
                   int offset)


encodedLength

public int encodedLength()


toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object