org.omg.DynamicAny
Class DynUnionHolder

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

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

Holder class for : DynUnion

Author:
OpenORB Compiler

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

Field Detail

value

public DynUnion value
Internal DynUnion value
Constructor Detail

DynUnionHolder

public DynUnionHolder()
Default constructor

DynUnionHolder

public DynUnionHolder(DynUnion initial)
Constructor with value initialisation
Parameters:
initial - the initial value
Method Detail

_read

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

_write

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

_type

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