org.npsnet.xrti.proxies
Class HLAorderType

java.lang.Object
  extended byorg.npsnet.xrti.proxies.HLAorderType
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class HLAorderType
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

Order type to be used for sending attributes or interactions.

Author:
org.npsnet.xrti.utilities.ProxyCompiler
See Also:
Serialized Form

Field Summary
static HLAorderType Receive
          Enumerator #0.
static HLAorderType TimeStamp
          Enumerator #1.
 
Constructor Summary
HLAorderType()
          Default constructor (Receive).
HLAorderType(HLAorderType other)
          Copy constructor.
 
Method Summary
static HLAorderType decode(HLAEncodingInputStream hlaeis)
          Reads and returns a HLAorderType from the specified stream.
 void encode(HLAEncodingOutputStream hlaeos)
          Writes this HLAorderType to the specified stream.
 boolean equals(java.lang.Object other)
          Compares this HLAorderType for equality with another.
 int hashCode()
          Computes and returns a hash code corresponding to this HLAorderType.
 java.lang.String toString()
          Returns a string representation of this HLAorderType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Receive

public static final HLAorderType Receive
Enumerator #0.


TimeStamp

public static final HLAorderType TimeStamp
Enumerator #1.

Constructor Detail

HLAorderType

public HLAorderType()
Default constructor (Receive).


HLAorderType

public HLAorderType(HLAorderType other)
Copy constructor.

Parameters:
other - the other HLAorderType to copy
Method Detail

decode

public static HLAorderType decode(HLAEncodingInputStream hlaeis)
                           throws java.io.IOException
Reads and returns a HLAorderType from the specified stream.

Parameters:
hlaeis - the input stream to read from
Returns:
the decoded value
Throws:
java.io.IOException - if an error occurs

equals

public boolean equals(java.lang.Object other)
Compares this HLAorderType for equality with another.

Parameters:
other - the other HLAorderType
Returns:
true if the two enumerated types are equal, false otherwise

hashCode

public int hashCode()
Computes and returns a hash code corresponding to this HLAorderType.

Returns:
a hash code corresponding to this HLAorderType

encode

public void encode(HLAEncodingOutputStream hlaeos)
            throws java.io.IOException
Writes this HLAorderType to the specified stream.

Parameters:
hlaeos - the stream to write to
Throws:
java.io.IOException - if an error occurs

toString

public java.lang.String toString()
Returns a string representation of this HLAorderType

Returns:
a string representation of this HLAorderType