Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface org.omg.CORBA.portable.Streamable

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

public 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.

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

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.