org.omg.CORBA.portable
Interface Streamable

All Known Subinterfaces:
StreamableValue sample code for org.omg.CORBA.portable.StreamableValue definition code for org.omg.CORBA.portable.StreamableValue
All Known Implementing Classes:
AlreadyBoundHolder sample code for org.omg.CosNaming.NamingContextPackage.AlreadyBoundHolder definition code for org.omg.CosNaming.NamingContextPackage.AlreadyBoundHolder , AnyHolder sample code for org.omg.CORBA.AnyHolder definition code for org.omg.CORBA.AnyHolder , AnySeqHolder sample code for org.omg.CORBA.AnySeqHolder definition code for org.omg.CORBA.AnySeqHolder , BindingHolder sample code for org.omg.CosNaming.BindingHolder definition code for org.omg.CosNaming.BindingHolder , BindingIteratorHolder sample code for org.omg.CosNaming.BindingIteratorHolder definition code for org.omg.CosNaming.BindingIteratorHolder , BindingListHolder sample code for org.omg.CosNaming.BindingListHolder definition code for org.omg.CosNaming.BindingListHolder , BindingTypeHolder sample code for org.omg.CosNaming.BindingTypeHolder definition code for org.omg.CosNaming.BindingTypeHolder , BooleanHolder sample code for org.omg.CORBA.BooleanHolder definition code for org.omg.CORBA.BooleanHolder , BooleanSeqHolder sample code for org.omg.CORBA.BooleanSeqHolder definition code for org.omg.CORBA.BooleanSeqHolder , ByteHolder sample code for org.omg.CORBA.ByteHolder definition code for org.omg.CORBA.ByteHolder , CannotProceedHolder sample code for org.omg.CosNaming.NamingContextPackage.CannotProceedHolder definition code for org.omg.CosNaming.NamingContextPackage.CannotProceedHolder , CharHolder sample code for org.omg.CORBA.CharHolder definition code for org.omg.CORBA.CharHolder , CharSeqHolder sample code for org.omg.CORBA.CharSeqHolder definition code for org.omg.CORBA.CharSeqHolder , CookieHolder sample code for org.omg.PortableServer.ServantLocatorPackage.CookieHolder definition code for org.omg.PortableServer.ServantLocatorPackage.CookieHolder , CurrentHolder sample code for org.omg.CORBA.CurrentHolder definition code for org.omg.CORBA.CurrentHolder , DoubleHolder sample code for org.omg.CORBA.DoubleHolder definition code for org.omg.CORBA.DoubleHolder , DoubleSeqHolder sample code for org.omg.CORBA.DoubleSeqHolder definition code for org.omg.CORBA.DoubleSeqHolder , FixedHolder sample code for org.omg.CORBA.FixedHolder definition code for org.omg.CORBA.FixedHolder , FloatHolder sample code for org.omg.CORBA.FloatHolder definition code for org.omg.CORBA.FloatHolder , FloatSeqHolder sample code for org.omg.CORBA.FloatSeqHolder definition code for org.omg.CORBA.FloatSeqHolder , IntHolder sample code for org.omg.CORBA.IntHolder definition code for org.omg.CORBA.IntHolder , InvalidAddressHolder sample code for org.omg.CosNaming.NamingContextExtPackage.InvalidAddressHolder definition code for org.omg.CosNaming.NamingContextExtPackage.InvalidAddressHolder , InvalidNameHolder sample code for org.omg.CosNaming.NamingContextPackage.InvalidNameHolder definition code for org.omg.CosNaming.NamingContextPackage.InvalidNameHolder , IORHolder sample code for org.omg.IOP.IORHolder definition code for org.omg.IOP.IORHolder , IORInterceptor_3_0Holder sample code for org.omg.PortableInterceptor.IORInterceptor_3_0Holder definition code for org.omg.PortableInterceptor.IORInterceptor_3_0Holder , LongHolder sample code for org.omg.CORBA.LongHolder definition code for org.omg.CORBA.LongHolder , LongLongSeqHolder sample code for org.omg.CORBA.LongLongSeqHolder definition code for org.omg.CORBA.LongLongSeqHolder , LongSeqHolder sample code for org.omg.CORBA.LongSeqHolder definition code for org.omg.CORBA.LongSeqHolder , MultipleComponentProfileHolder sample code for org.omg.IOP.MultipleComponentProfileHolder definition code for org.omg.IOP.MultipleComponentProfileHolder , NameComponentHolder sample code for org.omg.CosNaming.NameComponentHolder definition code for org.omg.CosNaming.NameComponentHolder , NameHolder sample code for org.omg.CosNaming.NameHolder definition code for org.omg.CosNaming.NameHolder , NamingContextExtHolder sample code for org.omg.CosNaming.NamingContextExtHolder definition code for org.omg.CosNaming.NamingContextExtHolder , NamingContextHolder sample code for org.omg.CosNaming.NamingContextHolder definition code for org.omg.CosNaming.NamingContextHolder , NotEmptyHolder sample code for org.omg.CosNaming.NamingContextPackage.NotEmptyHolder definition code for org.omg.CosNaming.NamingContextPackage.NotEmptyHolder , NotFoundHolder sample code for org.omg.CosNaming.NamingContextPackage.NotFoundHolder definition code for org.omg.CosNaming.NamingContextPackage.NotFoundHolder , NotFoundReasonHolder sample code for org.omg.CosNaming.NamingContextPackage.NotFoundReasonHolder definition code for org.omg.CosNaming.NamingContextPackage.NotFoundReasonHolder , ObjectHolder sample code for org.omg.CORBA.ObjectHolder definition code for org.omg.CORBA.ObjectHolder , ObjectReferenceFactoryHolder sample code for org.omg.PortableInterceptor.ObjectReferenceFactoryHolder definition code for org.omg.PortableInterceptor.ObjectReferenceFactoryHolder , ObjectReferenceTemplateHolder sample code for org.omg.PortableInterceptor.ObjectReferenceTemplateHolder definition code for org.omg.PortableInterceptor.ObjectReferenceTemplateHolder , ObjectReferenceTemplateSeqHolder sample code for org.omg.PortableInterceptor.ObjectReferenceTemplateSeqHolder definition code for org.omg.PortableInterceptor.ObjectReferenceTemplateSeqHolder , OctetSeqHolder sample code for org.omg.CORBA.OctetSeqHolder definition code for org.omg.CORBA.OctetSeqHolder , ParameterModeHolder sample code for org.omg.CORBA.ParameterModeHolder definition code for org.omg.CORBA.ParameterModeHolder , PolicyErrorHolder sample code for org.omg.CORBA.PolicyErrorHolder definition code for org.omg.CORBA.PolicyErrorHolder , PolicyHolder sample code for org.omg.CORBA.PolicyHolder definition code for org.omg.CORBA.PolicyHolder , PolicyListHolder sample code for org.omg.CORBA.PolicyListHolder definition code for org.omg.CORBA.PolicyListHolder , PrincipalHolder sample code for org.omg.CORBA.PrincipalHolder definition code for org.omg.CORBA.PrincipalHolder , ServiceContextHolder sample code for org.omg.IOP.ServiceContextHolder definition code for org.omg.IOP.ServiceContextHolder , ServiceContextListHolder sample code for org.omg.IOP.ServiceContextListHolder definition code for org.omg.IOP.ServiceContextListHolder , ServiceInformationHolder sample code for org.omg.CORBA.ServiceInformationHolder definition code for org.omg.CORBA.ServiceInformationHolder , ShortHolder sample code for org.omg.CORBA.ShortHolder definition code for org.omg.CORBA.ShortHolder , ShortSeqHolder sample code for org.omg.CORBA.ShortSeqHolder definition code for org.omg.CORBA.ShortSeqHolder , StringHolder sample code for org.omg.CORBA.StringHolder definition code for org.omg.CORBA.StringHolder , StringSeqHolder sample code for org.omg.CORBA.StringSeqHolder definition code for org.omg.CORBA.StringSeqHolder , TaggedComponentHolder sample code for org.omg.IOP.TaggedComponentHolder definition code for org.omg.IOP.TaggedComponentHolder , TaggedProfileHolder sample code for org.omg.IOP.TaggedProfileHolder definition code for org.omg.IOP.TaggedProfileHolder , TypeCodeHolder sample code for org.omg.CORBA.TypeCodeHolder definition code for org.omg.CORBA.TypeCodeHolder , ULongLongSeqHolder sample code for org.omg.CORBA.ULongLongSeqHolder definition code for org.omg.CORBA.ULongLongSeqHolder , ULongSeqHolder sample code for org.omg.CORBA.ULongSeqHolder definition code for org.omg.CORBA.ULongSeqHolder , UnknownUserExceptionHolder sample code for org.omg.CORBA.UnknownUserExceptionHolder definition code for org.omg.CORBA.UnknownUserExceptionHolder , UShortSeqHolder sample code for org.omg.CORBA.UShortSeqHolder definition code for org.omg.CORBA.UShortSeqHolder , ValueBaseHolder sample code for org.omg.CORBA.ValueBaseHolder definition code for org.omg.CORBA.ValueBaseHolder , WCharSeqHolder sample code for org.omg.CORBA.WCharSeqHolder definition code for org.omg.CORBA.WCharSeqHolder , WrongTransactionHolder sample code for org.omg.CORBA.WrongTransactionHolder definition code for org.omg.CORBA.WrongTransactionHolder , WStringSeqHolder sample code for org.omg.CORBA.WStringSeqHolder definition code for org.omg.CORBA.WStringSeqHolder

public interface Streamable

The base class for the Holder classess of all complex IDL types. The ORB treats all generated Holders as Streamable to invoke the methods for marshalling and unmarshalling.

Since:
JDK1.2

Method Summary
 void _read sample code for org.omg.CORBA.portable.Streamable._read(org.omg.CORBA.portable.InputStream) definition code for org.omg.CORBA.portable.Streamable._read(org.omg.CORBA.portable.InputStream) (InputStream sample code for org.omg.CORBA.portable.InputStream definition code for org.omg.CORBA.portable.InputStream  istream)
          Reads data from istream and initalizes the value field of the Holder with the unmarshalled data.
 TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode _type sample code for org.omg.CORBA.portable.Streamable._type() definition code for org.omg.CORBA.portable.Streamable._type() ()
          Retrieves the TypeCode object corresponding to the value in the value field of the Holder.
 void _write sample code for org.omg.CORBA.portable.Streamable._write(org.omg.CORBA.portable.OutputStream) definition code for org.omg.CORBA.portable.Streamable._write(org.omg.CORBA.portable.OutputStream) (OutputStream sample code for org.omg.CORBA.portable.OutputStream definition code for org.omg.CORBA.portable.OutputStream  ostream)
          Marshals to ostream the value in the value field of the Holder.
 

Method Detail

_read sample code for org.omg.CORBA.portable.Streamable._read(org.omg.CORBA.portable.InputStream) definition code for org.omg.CORBA.portable.Streamable._read(org.omg.CORBA.portable.InputStream)

void _read(InputStream sample code for org.omg.CORBA.portable.InputStream definition code for org.omg.CORBA.portable.InputStream  istream)
Reads data from istream and initalizes the value field of the Holder with the unmarshalled data.

Parameters:
istream - the InputStream that represents the CDR data from the wire.

_write sample code for org.omg.CORBA.portable.Streamable._write(org.omg.CORBA.portable.OutputStream) definition code for org.omg.CORBA.portable.Streamable._write(org.omg.CORBA.portable.OutputStream)

void _write(OutputStream sample code for org.omg.CORBA.portable.OutputStream definition code for org.omg.CORBA.portable.OutputStream  ostream)
Marshals to ostream the value in the value field of the Holder.

Parameters:
ostream - the CDR OutputStream

_type sample code for org.omg.CORBA.portable.Streamable._type() definition code for org.omg.CORBA.portable.Streamable._type()

TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  _type()
Retrieves the TypeCode object corresponding to the value in the value field of the Holder.

Returns:
the TypeCode object for the value held in the holder