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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void write​(org.omg.CORBA_2_3.portable.OutputStream out, Object obj)
      Marshals a Java basic data type or object into a CDR output stream.
    • Method Detail

      • write

        void write​(org.omg.CORBA_2_3.portable.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