org.jboss.iiop.rmi.marshal
Interface CDRStreamReader
- public interface CDRStreamReader
Interface of an object that knows how to unmarshal a Java basic type or
object from a CDR input stream. Implementations of this interface are
specialized for particular types: an IntReader
is a
CDRStreamReader
that knows how to unmarshal int
s,
a LongReader
is a CDRStreamReader
that knows how
to unmarshal long
s, and so on.
Method Summary |
java.lang.Object |
read(org.omg.CORBA_2_3.portable.InputStream in)
Unmarshals a Java basic data type or object from a CDR input stream. |
read
public java.lang.Object read(org.omg.CORBA_2_3.portable.InputStream in)
- Unmarshals a Java basic data type or object from a CDR input stream.
- Parameters:
in
- the input stream
- Returns:
- a basic data type (within a suitable wrapper instance) or
object unmarshalled from the stream