org.omg.IOP
Class CodecHolder

java.lang.Object
  |
  +--org.omg.IOP.CodecHolder
All Implemented Interfaces:
Streamable

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

Holder class for : Codec

Author:
OpenORB Compiler

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

Field Detail

value

public Codec value
Internal Codec value
Constructor Detail

CodecHolder

public CodecHolder()
Default constructor

CodecHolder

public CodecHolder(Codec initial)
Constructor with value initialisation
Parameters:
initial - the initial value
Method Detail

_read

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

_write

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

_type

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