org.openorb.orb.io
Class TypeCodeStreamableValue
java.lang.Object
org.openorb.orb.io.TypeCodeStreamableValue
- All Implemented Interfaces:
- org.omg.CORBA.portable.IDLEntity, java.io.Serializable, org.omg.CORBA.portable.Streamable, org.omg.CORBA.portable.StreamableValue, org.omg.CORBA.portable.ValueBase
- public class TypeCodeStreamableValue
- extends java.lang.Object
- implements org.omg.CORBA.portable.StreamableValue
This class masquarades as the valuetype passed to it in a typecode. It can
be used in any situation where the original valuetype was used, providing
the runtime type is a general java.io.Serializable, so it can be inserted
and extracted from anys and marshaled using DII.
- Version:
- $Revision: 1.4 $ $Date: 2004/02/10 21:02:50 $
- Author:
- Chris Wood
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeCodeStreamableValue
public TypeCodeStreamableValue(org.omg.CORBA.ORB orb,
org.omg.CORBA.TypeCode tc)
throws org.omg.CORBA.TypeCodePackage.BadKind
- Throws:
org.omg.CORBA.TypeCodePackage.BadKind
- The specified typecode is
not a valuetype.
getTypeCode
public org.omg.CORBA.TypeCode getTypeCode()
create_output_stream
public org.omg.CORBA_2_3.portable.OutputStream create_output_stream()
create_input_stream
public org.omg.CORBA_2_3.portable.InputStream create_input_stream()
_read
public void _read(org.omg.CORBA.portable.InputStream is)
- Specified by:
_read
in interface org.omg.CORBA.portable.Streamable
_write
public void _write(org.omg.CORBA.portable.OutputStream os)
- Specified by:
_write
in interface org.omg.CORBA.portable.Streamable
_type
public org.omg.CORBA.TypeCode _type()
- Specified by:
_type
in interface org.omg.CORBA.portable.Streamable
_truncatable_ids
public java.lang.String[] _truncatable_ids()
- Specified by:
_truncatable_ids
in interface org.omg.CORBA.portable.ValueBase