Class InputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    CDRInputObject, WrapperInputStream

    public abstract class InputStream
    extends InputStream
    InputStream provides for the reading of all of the mapped IDL types from the stream. It extends org.omg.CORBA.portable.InputStream. This class defines new methods that were added for CORBA 2.3.
    Since:
    JDK1.2
    Version:
    1.17 07/27/07
    See Also:
    InputStream
    • Field Detail

      • ALLOW_SUBCLASS_PROP

        private static final java.lang.String ALLOW_SUBCLASS_PROP
        See Also:
        Constant Field Values
      • allowSubclass

        private static final boolean allowSubclass
    • Constructor Detail

      • InputStream

        private InputStream​(java.lang.Void ignore)
      • InputStream

        public InputStream()
        Create a new instance of this class. throw SecurityException if SecurityManager is installed and enableSubclassImplementation SerializablePermission is not granted or jdk.corba.allowOutputStreamSubclass system property is either not set or is set to 'false'
    • Method Detail

      • checkPermission

        private static java.lang.Void checkPermission()
      • read_value

        public java.io.Serializable read_value()
        Unmarshalls a value type from the input stream.
        Returns:
        the value type unmarshalled from the input stream
      • read_value

        public java.io.Serializable read_value​(java.lang.Class clz)
        Unmarshalls a value type from the input stream.
        Parameters:
        clz - is the declared type of the value to be unmarshalled
        Returns:
        the value unmarshalled from the input stream
      • read_value

        public java.io.Serializable read_value​(BoxedValueHelper factory)
        Unmarshalls a value type from the input stream.
        Parameters:
        factory - is the instance fo the helper to be used for unmarshalling the value type
        Returns:
        the value unmarshalled from the input stream
      • read_value

        public java.io.Serializable read_value​(java.lang.String rep_id)
        Unmarshalls a value type from the input stream.
        Parameters:
        rep_id - identifies the type of the value to be unmarshalled
        Returns:
        value type unmarshalled from the input stream
      • read_value

        public java.io.Serializable read_value​(java.io.Serializable value)
        Unmarshalls a value type from the input stream.
        Parameters:
        value - is an uninitialized value which is added to the orb's indirection table before calling Streamable._read() or CustomMarshal.unmarshal() to unmarshal the value.
        Returns:
        value type unmarshalled from the input stream
      • read_abstract_interface

        public java.lang.Object read_abstract_interface()
        Unmarshal the value object or a suitable stub object.
        Returns:
        ORB runtime returns the value object or a suitable stub object.
      • read_abstract_interface

        public java.lang.Object read_abstract_interface​(java.lang.Class clz)
        Unmarshal the class object or the stub class corresponding to the passed type.
        Parameters:
        clz - is the Class object for the stub class which corresponds to the type that is statically expected.
        Returns:
        ORB runtime returns the value object or a suitable stub object.