org.omg.PortableServer.POAManagerPackage
Class StateHolder

java.lang.Object
  |
  +--org.omg.PortableServer.POAManagerPackage.StateHolder
All Implemented Interfaces:
Streamable

public final class StateHolder
extends java.lang.Object
implements Streamable

Holder class for : State

Author:
OpenORB Compiler

Field Summary
 State value
          Internal State value
 
Constructor Summary
StateHolder()
          Default constructor
StateHolder(State initial)
          Constructor with value initialisation
 
Method Summary
 void _read(InputStream istream)
          Read State from a marshalled stream
 TypeCode _type()
          Return the State TypeCode
 void _write(OutputStream ostream)
          Write State into a marshalled stream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public State value
Internal State value
Constructor Detail

StateHolder

public StateHolder()
Default constructor

StateHolder

public StateHolder(State initial)
Constructor with value initialisation
Parameters:
initial - the initial value
Method Detail

_read

public void _read(InputStream istream)
Read State from a marshalled stream
Specified by:
_read in interface Streamable
Parameters:
istream - the input stream

_write

public void _write(OutputStream ostream)
Write State into a marshalled stream
Specified by:
_write in interface Streamable
Parameters:
ostream - the output stream

_type

public TypeCode _type()
Return the State TypeCode
Specified by:
_type in interface Streamable
Returns:
a TypeCode