org.omg.CosNaming
Class BindingTypeHolder

java.lang.Object
  extended by org.omg.CosNaming.BindingTypeHolder
All Implemented Interfaces:
Streamable

public final class BindingTypeHolder
extends Object
implements Streamable

Holds the binding type.


Field Summary
 BindingType value
          The stored binding type value.
 
Constructor Summary
BindingTypeHolder()
          Create the unitialised holder.
BindingTypeHolder(BindingType initialValue)
          Create the holder, intialised to the given value.
 
Method Summary
 void _read(InputStream in)
          Read the holder value from the CDR input stream.
 TypeCode _type()
          Returns the TypeCode, corresponding the CORBA type that is stored using this holder.
 void _write(OutputStream out)
          Write the stored value to the CDR output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public BindingType value
The stored binding type value.

Constructor Detail

BindingTypeHolder

public BindingTypeHolder()
Create the unitialised holder.


BindingTypeHolder

public BindingTypeHolder(BindingType initialValue)
Create the holder, intialised to the given value.

Method Detail

_read

public void _read(InputStream in)
Read the holder value from the CDR input stream.

Specified by:
_read in interface Streamable
Parameters:
in - the input stream to read from.

_type

public TypeCode _type()
Description copied from interface: Streamable
Returns the TypeCode, corresponding the CORBA type that is stored using this holder.

Specified by:
_type in interface Streamable

_write

public void _write(OutputStream out)
Write the stored value to the CDR output stream.

Specified by:
_write in interface Streamable
Parameters:
out - the output stream to write into.