org.omg.DynamicAny
Class DynStructHolder

java.lang.Object
  |
  +--org.omg.DynamicAny.DynStructHolder
All Implemented Interfaces:
Streamable

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

Holder class for : DynStruct

Author:
OpenORB Compiler

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

Field Detail

value

public DynStruct value
Internal DynStruct value
Constructor Detail

DynStructHolder

public DynStructHolder()
Default constructor

DynStructHolder

public DynStructHolder(DynStruct initial)
Constructor with value initialisation
Parameters:
initial - the initial value
Method Detail

_read

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

_write

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

_type

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