org.npsnet.xrti.proxies
Class HLAsynchPointFederate

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

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

A particular joined federate and its synchronization point status.

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

Field Summary
private  byte[] HLAfederate
          Encoded joined federate handle.
private  HLAsynchPointStatus HLAfederateSynchStatus
          Synchronization status of the particular joined federate.
 
Constructor Summary
HLAsynchPointFederate()
          Default constructor.
HLAsynchPointFederate(byte[] pHLAfederate, HLAsynchPointStatus pHLAfederateSynchStatus)
          Constructor.
HLAsynchPointFederate(HLAsynchPointFederate other)
          Copy constructor.
 
Method Summary
static HLAsynchPointFederate decode(HLAEncodingInputStream hlaeis)
          Reads and returns a HLAsynchPointFederate from the specified stream.
 void encode(HLAEncodingOutputStream hlaeos)
          Writes this HLAsynchPointFederate to the specified stream.
 byte[] getHLAfederate()
          Returns the value of the HLAfederate field.
 HLAsynchPointStatus getHLAfederateSynchStatus()
          Returns the value of the HLAfederateSynchStatus field.
 void setHLAfederate(byte[] pHLAfederate)
          Sets the value of the HLAfederate field.
 void setHLAfederateSynchStatus(HLAsynchPointStatus pHLAfederateSynchStatus)
          Sets the value of the HLAfederateSynchStatus field.
 java.lang.String toString()
          Returns a string representation of this HLAsynchPointFederate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HLAfederate

private byte[] HLAfederate
Encoded joined federate handle.


HLAfederateSynchStatus

private HLAsynchPointStatus HLAfederateSynchStatus
Synchronization status of the particular joined federate.

Constructor Detail

HLAsynchPointFederate

public HLAsynchPointFederate()
Default constructor.


HLAsynchPointFederate

public HLAsynchPointFederate(byte[] pHLAfederate,
                             HLAsynchPointStatus pHLAfederateSynchStatus)
Constructor.

Parameters:
pHLAfederate - the value of the HLAfederate field
pHLAfederateSynchStatus - the value of the HLAfederateSynchStatus field

HLAsynchPointFederate

public HLAsynchPointFederate(HLAsynchPointFederate other)
Copy constructor.

Parameters:
other - the other HLAsynchPointFederate to copy
Method Detail

decode

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

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

encode

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

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

toString

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

Returns:
a string representation of this HLAsynchPointFederate

setHLAfederate

public void setHLAfederate(byte[] pHLAfederate)
Sets the value of the HLAfederate field.

Parameters:
pHLAfederate - the new value for the field

getHLAfederate

public byte[] getHLAfederate()
Returns the value of the HLAfederate field.

Returns:
the value of the HLAfederate field

setHLAfederateSynchStatus

public void setHLAfederateSynchStatus(HLAsynchPointStatus pHLAfederateSynchStatus)
Sets the value of the HLAfederateSynchStatus field.

Parameters:
pHLAfederateSynchStatus - the new value for the field

getHLAfederateSynchStatus

public HLAsynchPointStatus getHLAfederateSynchStatus()
Returns the value of the HLAfederateSynchStatus field.

Returns:
the value of the HLAfederateSynchStatus field