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 ints, a LongWriter is a CDRStreamWriter that knows how to marshal longs, and so on.

Version:
$Revision: 81018 $
Author:
Francisco Reverbel

Method Summary
 void write(OutputStream out, Object obj)
          Marshals a Java basic data type or object into a CDR output stream.
 

Method Detail

write

void write(OutputStream out,
           Object obj)
Marshals a Java basic data type or object into a CDR output stream.

Parameters:
out - the output stream
obj - the basic data type (within a suitable wrapper instance) or object to be marshalled


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.