org.npsnet.xrti.proxies
Class HLAcapabilityType

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

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

Capability type to be used for synchronizations.

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

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

Field Detail

Register

public static final HLAcapabilityType Register
Enumerator #0.


Achieve

public static final HLAcapabilityType Achieve
Enumerator #1.


RegisterAchieve

public static final HLAcapabilityType RegisterAchieve
Enumerator #2.


NoSynch

public static final HLAcapabilityType NoSynch
Enumerator #3.

Constructor Detail

HLAcapabilityType

public HLAcapabilityType()
Default constructor (Register).


HLAcapabilityType

public HLAcapabilityType(HLAcapabilityType other)
Copy constructor.

Parameters:
other - the other HLAcapabilityType to copy
Method Detail

decode

public static HLAcapabilityType decode(HLAEncodingInputStream hlaeis)
                                throws java.io.IOException
Reads and returns a HLAcapabilityType 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 HLAcapabilityType for equality with another.

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

hashCode

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

Returns:
a hash code corresponding to this HLAcapabilityType

encode

public void encode(HLAEncodingOutputStream hlaeos)
            throws java.io.IOException
Writes this HLAcapabilityType 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 HLAcapabilityType

Returns:
a string representation of this HLAcapabilityType