Java Platform 1.2
Beta 4

Interface org.omg.CORBA.portable.Streamable

All Known Implementing Classes:
ServiceDetailHolder, ServiceInformationHolder, BindingTypeHolder, BindingHolder, NamingContextHolder, NameHolder, BindingListHolder, BindingIteratorHolder, NameComponentHolder, InvalidNameHolder, CannotProceedHolder, NotFoundHolder, AlreadyBoundHolder, NotEmptyHolder, NotFoundReasonHolder

public abstract interface Streamable
Streamable is the base class for the Holders 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(InputStream istream)
          Read from istream and initalize the value in the Holder with the unmarshalled data
 TypeCode _type()
          Return the TypeCode corresponding to the value held in the Holder.
 void _write(OutputStream ostream)
          Marshal to ostream the value in the Holder
 

Method Detail

_read

public void _read(InputStream istream)
Read from istream and initalize the value in the Holder with the unmarshalled data
Parameters:
istream - the InputStream that represents the CDR data from the wire.

_write

public void _write(OutputStream ostream)
Marshal to ostream the value in the Holder
Parameters:
ostream - the CDR OutputStream

_type

public TypeCode _type()
Return the TypeCode corresponding to the value held in the Holder.
Returns:
the TypeCode of the value held in the holder.

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.