org.npsnet.xrti.proxies
Class HLAsynchPointStatus

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

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

Joined federate synchronization point status.

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

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

Field Detail

NoActivity

public static final HLAsynchPointStatus NoActivity
Enumerator #0.


AttemptingToRegisterSynchPoint

public static final HLAsynchPointStatus AttemptingToRegisterSynchPoint
Enumerator #1.


MovingToSynchPoint

public static final HLAsynchPointStatus MovingToSynchPoint
Enumerator #2.


WaitingForRestOfFederation

public static final HLAsynchPointStatus WaitingForRestOfFederation
Enumerator #3.


value

private int value
The value of the instance.

Constructor Detail

HLAsynchPointStatus

public HLAsynchPointStatus()
Default constructor (NoActivity).


HLAsynchPointStatus

public HLAsynchPointStatus(HLAsynchPointStatus other)
Copy constructor.

Parameters:
other - the other HLAsynchPointStatus to copy

HLAsynchPointStatus

private HLAsynchPointStatus(int pValue)
Private constructor.

Parameters:
pValue - the instance value
Method Detail

decode

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

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

hashCode

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

Returns:
a hash code corresponding to this HLAsynchPointStatus

encode

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

Returns:
a string representation of this HLAsynchPointStatus