org.npsnet.xrti.proxies
Class HLAinteractionSubscription

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

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

Interaction subscription information.

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

Constructor Summary
HLAinteractionSubscription()
          Default constructor.
HLAinteractionSubscription(byte[] pHLAinteractionClass, boolean pHLAactive)
          Constructor.
HLAinteractionSubscription(HLAinteractionSubscription other)
          Copy constructor.
 
Method Summary
static HLAinteractionSubscription decode(HLAEncodingInputStream hlaeis)
          Reads and returns a HLAinteractionSubscription from the specified stream.
 void encode(HLAEncodingOutputStream hlaeos)
          Writes this HLAinteractionSubscription to the specified stream.
 boolean getHLAactive()
          Returns the value of the HLAactive field.
 byte[] getHLAinteractionClass()
          Returns the value of the HLAinteractionClass field.
 void setHLAactive(boolean pHLAactive)
          Sets the value of the HLAactive field.
 void setHLAinteractionClass(byte[] pHLAinteractionClass)
          Sets the value of the HLAinteractionClass field.
 java.lang.String toString()
          Returns a string representation of this HLAinteractionSubscription.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HLAinteractionSubscription

public HLAinteractionSubscription()
Default constructor.


HLAinteractionSubscription

public HLAinteractionSubscription(byte[] pHLAinteractionClass,
                                  boolean pHLAactive)
Constructor.

Parameters:
pHLAinteractionClass - the value of the HLAinteractionClass field
pHLAactive - the value of the HLAactive field

HLAinteractionSubscription

public HLAinteractionSubscription(HLAinteractionSubscription other)
Copy constructor.

Parameters:
other - the other HLAinteractionSubscription to copy
Method Detail

decode

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

Returns:
a string representation of this HLAinteractionSubscription

setHLAinteractionClass

public void setHLAinteractionClass(byte[] pHLAinteractionClass)
Sets the value of the HLAinteractionClass field.

Parameters:
pHLAinteractionClass - the new value for the field

getHLAinteractionClass

public byte[] getHLAinteractionClass()
Returns the value of the HLAinteractionClass field.

Returns:
the value of the HLAinteractionClass field

setHLAactive

public void setHLAactive(boolean pHLAactive)
Sets the value of the HLAactive field.

Parameters:
pHLAactive - the new value for the field

getHLAactive

public boolean getHLAactive()
Returns the value of the HLAactive field.

Returns:
the value of the HLAactive field