org.omg.CORBA.portable
Interface Streamable
- All Known Implementing Classes:
- AnyHolder, BooleanHolder, ByteHolder, CharHolder, DoubleHolder, FixedHolder, FloatHolder, IntHolder, LongHolder, ObjectHolder, PrincipalHolder, ServiceInformationHolder, ShortHolder, StringHolder, TypeCodeHolder, BindingTypeHolder, BindingHolder, NamingContextHolder, NameHolder, BindingListHolder, BindingIteratorHolder, NameComponentHolder, InvalidNameHolder, CannotProceedHolder, NotFoundHolder, AlreadyBoundHolder, NotEmptyHolder, NotFoundReasonHolder
- public abstract 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(InputStream istream)
Reads data from istream and initalizes the
value field of the Holder with the unmarshalled data. |
TypeCode |
_type()
Retrieves the TypeCode object corresponding to the value
in the value field of the Holder. |
void |
_write(OutputStream ostream)
Marshals to ostream the value in the
value field of the Holder. |
_read
public void _read(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
public void _write(OutputStream ostream)
- Marshals to
ostream
the value in the
value
field of the Holder.
- Parameters:
ostream
- the CDR OutputStream
_type
public 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
Submit a bug or feature Version 1.2 of Java Platform API Specification
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.