| java.lang.Object java.io.InputStream org.omg.CORBA.portable.InputStream
All known Subclasses: org.omg.CORBA_2_3.portable.InputStream,
InputStream | abstract public class InputStream extends java.io.InputStream (Code) | | InputStream is the Java API for reading IDL types
from CDR marshal streams. These methods are used by the ORB to
unmarshal IDL types as well as to extract IDL types out of Anys.
The _array versions of the methods can be directly
used to read sequences and arrays of IDL types.
version: 1.12, 04/22/98 since: JDK1.2 |
Method Summary | |
public org.omg.CORBA.ORB | orb() Returns the ORB that created this InputStream. | public int | read() | public org.omg.CORBA.Context | read_Context() Reads a CORBA context from the stream. | abstract public org.omg.CORBA.Object | read_Object() Reads a CORBA object from this input stream. | public org.omg.CORBA.Object | read_Object(java.lang.Class clz) Unmarshals an object and returns a CORBA Object,
which is an instance of the class passed as its argument.
This class is the stub class of the expected type.
Parameters: clz - The Class object for the stub class which corresponds to the type that is statistically expected, orthe Class object for the RMI/IDL interface type thatis statistically expected. | public Principal | read_Principal() Returns principal for invocation. | abstract public TypeCode | read_TypeCode() Reads a TypeCode from this input stream. | abstract public Any | read_any() Reads an Any from this input stream. | abstract public boolean | read_boolean() Reads a boolean value from this input stream. | abstract public void | read_boolean_array(boolean[] value, int offset, int length) Reads an array of booleans from this input stream. | abstract public char | read_char() Reads a char value from this input stream. | abstract public void | read_char_array(char[] value, int offset, int length) Reads an array of chars from this input stream. | abstract public double | read_double() Reads a double value from this input stream. | abstract public void | read_double_array(double[] value, int offset, int length) Reads an array of doubles from this input stream. | public java.math.BigDecimal | read_fixed() Reads a BigDecimal number. | abstract public float | read_float() Reads a float value from this input stream. | abstract public void | read_float_array(float[] value, int offset, int length) Reads an array of floats from this input stream. | abstract public int | read_long() Reads a CORBA long (that is, Java int) value from this input stream. | abstract public void | read_long_array(int[] value, int offset, int length) Reads an array of CORBA longs (that is, Java ints) from this input stream. | abstract public long | read_longlong() Reads a CORBA longlong (that is, Java long) value from this input stream. | abstract public void | read_longlong_array(long[] value, int offset, int length) Reads an array of CORBA longlongs (that is, Java longs) from this input
stream. | abstract public byte | read_octet() Reads an octet (that is, a byte) value from this input stream. | abstract public void | read_octet_array(byte[] value, int offset, int length) Reads an array of octets (that is, bytes) from this input stream. | abstract public short | read_short() Reads a short value from this input stream. | abstract public void | read_short_array(short[] value, int offset, int length) Reads an array of shorts from this input stream. | abstract public String | read_string() Reads a string value from this input stream. | abstract public int | read_ulong() Reads an unsigned CORBA long (that is, Java int) value from this input
stream. | abstract public void | read_ulong_array(int[] value, int offset, int length) Reads an array of unsigned CORBA longs (that is, Java ints) from this input
stream. | abstract public long | read_ulonglong() Reads a CORBA unsigned longlong (that is, Java long) value from this input
stream. | abstract public void | read_ulonglong_array(long[] value, int offset, int length) Reads an array of unsigned CORBA longlongs (that is, Java longs) from this
input stream. | abstract public short | read_ushort() Reads a unsigned short value from this input stream. | abstract public void | read_ushort_array(short[] value, int offset, int length) Reads an array of unsigned shorts from this input stream. | abstract public char | read_wchar() Reads a wide char value from this input stream. | abstract public void | read_wchar_array(char[] value, int offset, int length) Reads an array of wide chars from this input stream. | abstract public String | read_wstring() Reads a wide string value from this input stream. |
read_Object | abstract public org.omg.CORBA.Object read_Object()(Code) | | Reads a CORBA object from this input stream.
the Object instance read from this input stream. |
read_Object | public org.omg.CORBA.Object read_Object(java.lang.Class clz)(Code) | | Unmarshals an object and returns a CORBA Object,
which is an instance of the class passed as its argument.
This class is the stub class of the expected type.
Parameters: clz - The Class object for the stub class which corresponds to the type that is statistically expected, orthe Class object for the RMI/IDL interface type thatis statistically expected. an Object instance of clz read from this stream See Also: portable See Also: package comments for unimplemented features |
read_Principal | public Principal read_Principal()(Code) | | Returns principal for invocation.
Principal for invocation. |
read_TypeCode | abstract public TypeCode read_TypeCode()(Code) | | Reads a TypeCode from this input stream.
the TypeCode instance read from this input stream. |
read_any | abstract public Any read_any()(Code) | | Reads an Any from this input stream.
the Any instance read from this input stream. |
read_boolean | abstract public boolean read_boolean()(Code) | | Reads a boolean value from this input stream.
the boolean value read from this input stream |
read_boolean_array | abstract public void read_boolean_array(boolean[] value, int offset, int length)(Code) | | Reads an array of booleans from this input stream.
Parameters: value - returned array of booleans. Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_char | abstract public char read_char()(Code) | | Reads a char value from this input stream.
the char value read from this input stream |
read_char_array | abstract public void read_char_array(char[] value, int offset, int length)(Code) | | Reads an array of chars from this input stream.
Parameters: value - returned array of chars. Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_double | abstract public double read_double()(Code) | | Reads a double value from this input stream.
the double value read from this input stream |
read_double_array | abstract public void read_double_array(double[] value, int offset, int length)(Code) | | Reads an array of doubles from this input stream.
Parameters: value - returned array of doubles. Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_float | abstract public float read_float()(Code) | | Reads a float value from this input stream.
the float value read from this input stream |
read_float_array | abstract public void read_float_array(float[] value, int offset, int length)(Code) | | Reads an array of floats from this input stream.
Parameters: value - returned array of floats. Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_long | abstract public int read_long()(Code) | | Reads a CORBA long (that is, Java int) value from this input stream.
the int value read from this input stream |
read_long_array | abstract public void read_long_array(int[] value, int offset, int length)(Code) | | Reads an array of CORBA longs (that is, Java ints) from this input stream.
Parameters: value - returned array of CORBA longs (that is, Java ints). Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_longlong | abstract public long read_longlong()(Code) | | Reads a CORBA longlong (that is, Java long) value from this input stream.
the long value read from this input stream |
read_longlong_array | abstract public void read_longlong_array(long[] value, int offset, int length)(Code) | | Reads an array of CORBA longlongs (that is, Java longs) from this input
stream.
Parameters: value - returned array of CORBA longs (that is, Java longs). Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_octet | abstract public byte read_octet()(Code) | | Reads an octet (that is, a byte) value from this input stream.
the byte value read from this input stream |
read_octet_array | abstract public void read_octet_array(byte[] value, int offset, int length)(Code) | | Reads an array of octets (that is, bytes) from this input stream.
Parameters: value - returned array of octets (that is, bytes). Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_short | abstract public short read_short()(Code) | | Reads a short value from this input stream.
the short value read from this input stream |
read_short_array | abstract public void read_short_array(short[] value, int offset, int length)(Code) | | Reads an array of shorts from this input stream.
Parameters: value - returned array of shorts. Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_string | abstract public String read_string()(Code) | | Reads a string value from this input stream.
the String value read from this input stream |
read_ulong | abstract public int read_ulong()(Code) | | Reads an unsigned CORBA long (that is, Java int) value from this input
stream.
the int value read from this input stream |
read_ulong_array | abstract public void read_ulong_array(int[] value, int offset, int length)(Code) | | Reads an array of unsigned CORBA longs (that is, Java ints) from this input
stream.
Parameters: value - returned array of CORBA longs (that is, Java ints). Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_ulonglong | abstract public long read_ulonglong()(Code) | | Reads a CORBA unsigned longlong (that is, Java long) value from this input
stream.
the long value read from this input stream |
read_ulonglong_array | abstract public void read_ulonglong_array(long[] value, int offset, int length)(Code) | | Reads an array of unsigned CORBA longlongs (that is, Java longs) from this
input stream.
Parameters: value - returned array of CORBA longs (that is, Java longs). Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_ushort | abstract public short read_ushort()(Code) | | Reads a unsigned short value from this input stream.
the short value read from this input stream |
read_ushort_array | abstract public void read_ushort_array(short[] value, int offset, int length)(Code) | | Reads an array of unsigned shorts from this input stream.
Parameters: value - returned array of shorts. Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_wchar | abstract public char read_wchar()(Code) | | Reads a wide char value from this input stream.
the char value read from this input stream |
read_wchar_array | abstract public void read_wchar_array(char[] value, int offset, int length)(Code) | | Reads an array of wide chars from this input stream.
Parameters: value - returned array of wide chars. Parameters: offset - offset on the stream. Parameters: length - length of buffer to read. |
read_wstring | abstract public String read_wstring()(Code) | | Reads a wide string value from this input stream.
the String value read from this input stream |
|
|