org.omg.CosNaming
Class BindingHolder

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

public final class BindingHolder
extends Object
implements Streamable

A holder for the binding type.


Field Summary
 Binding value
          The stored binding type.
 
Constructor Summary
BindingHolder()
          Create an empty instance.
BindingHolder(Binding initialValue)
          Create the intialised holder.
 
Method Summary
 void _read(InputStream i)
          Read the holder value from the CDR stream.
 TypeCode _type()
          Return the binding type code.
 void _write(OutputStream o)
          Write the holder value to the CDR stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public Binding value
The stored binding type.

Constructor Detail

BindingHolder

public BindingHolder()
Create an empty instance.


BindingHolder

public BindingHolder(Binding initialValue)
Create the intialised holder.

Method Detail

_read

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

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

_type

public TypeCode _type()
Return the binding type code.

Specified by:
_type in interface Streamable

_write

public void _write(OutputStream o)
Write the holder value to the CDR stream.

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