org.omg.CORBA
Class MARSHALHolder

java.lang.Object
  extended by org.omg.CORBA.MARSHALHolder
All Implemented Interfaces:
Streamable

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

Holder class for : MARSHAL

Author:
OpenORB Compiler

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

Field Detail

value

public MARSHAL value
Internal MARSHAL value

Constructor Detail

MARSHALHolder

public MARSHALHolder()
Default constructor


MARSHALHolder

public MARSHALHolder(MARSHAL initial)
Constructor with value initialisation

Parameters:
initial - the initial value
Method Detail

_read

public void _read(InputStream istream)
Read MARSHAL from a marshalled stream

Specified by:
_read in interface Streamable
Parameters:
istream - the input stream

_write

public void _write(OutputStream ostream)
Write MARSHAL into a marshalled stream

Specified by:
_write in interface Streamable
Parameters:
ostream - the output stream

_type

public TypeCode _type()
Return the MARSHAL TypeCode

Specified by:
_type in interface Streamable
Returns:
a TypeCode