org.npsnet.xrti.proxies
Class HLAresignAction

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

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

Action to be performed by RTI in conjunction with resignation.

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

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

Field Detail

DivestOwnership

public static final HLAresignAction DivestOwnership
Enumerator #0.


DeleteObjectInstances

public static final HLAresignAction DeleteObjectInstances
Enumerator #1.


CancelPendingAcquisitions

public static final HLAresignAction CancelPendingAcquisitions
Enumerator #2.


DeleteObjectInstancesThenDivestOwnership

public static final HLAresignAction DeleteObjectInstancesThenDivestOwnership
Enumerator #3.


CancelPendingAcquisitionsThenDeleteObjectInstancesThenDivestOwnership

public static final HLAresignAction CancelPendingAcquisitionsThenDeleteObjectInstancesThenDivestOwnership
Enumerator #4.


NoAction

public static final HLAresignAction NoAction
Enumerator #5.


value

private int value
The value of the instance.

Constructor Detail

HLAresignAction

public HLAresignAction()
Default constructor (DivestOwnership).


HLAresignAction

public HLAresignAction(HLAresignAction other)
Copy constructor.

Parameters:
other - the other HLAresignAction to copy

HLAresignAction

private HLAresignAction(int pValue)
Private constructor.

Parameters:
pValue - the instance value
Method Detail

decode

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

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

hashCode

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

Returns:
a hash code corresponding to this HLAresignAction

encode

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

Returns:
a string representation of this HLAresignAction