org.jboss.iiop.rmi.marshal
Interface CDRStreamWriter
- public interface CDRStreamWriter
Interface of an object that knows how to marshal a Java basic type or
object into a CDR input stream. Implementations of this interface are
specialized for particular types: an IntWriter
is a
CDRStreamWriter
that knows how to marshal int
s,
a LongWriter
is a CDRStreamWriter
that knows how
to marshal long
s, and so on.
Method Summary |
void |
write(org.omg.CORBA_2_3.portable.OutputStream out,
java.lang.Object obj)
Marshals a Java basic data type or object into a CDR output stream. |
write
public void write(org.omg.CORBA_2_3.portable.OutputStream out,
java.lang.Object obj)
- Marshals a Java basic data type or object into a CDR output stream.
- Parameters:
out
- the output streamobj
- the basic data type (within a suitable wrapper instance)
or object to be marshalled