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 ints, a LongReader is a CDRStreamReader that knows how to unmarshal longs, and so on.
    Version:
    $Revision: 81018 $
    Author:
    Francisco Reverbel
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Object read​(org.omg.CORBA_2_3.portable.InputStream in)
      Unmarshals a Java basic data type or object from a CDR input stream.
    • Method Detail

      • read

        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