All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.omg.CORBA.portable.InputStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----org.omg.CORBA.portable.InputStream

public abstract class InputStream
extends InputStream
This interface encapsulates an (Internet Inter-ORB Protocol) IIOP input stream.

See Also:
create_input_stream

Constructor Index

 o InputStream()

Method Index

 o read()
 o read_any()
Read an IDL any value from the stream.
 o read_boolean()
Read an IDL boolean value from the stream.
 o read_boolean_array(boolean[], int, int)
Read into an array of booleans (IDL sequence<boolean>) from the stream.
 o read_char()
Read an IDL char value from the stream.
 o read_char_array(char[], int, int)
Read into an array of ASCII chararcters (IDL sequence<char>) from the stream.
 o read_double()
Read an IDL double value from the stream.
 o read_double_array(double[], int, int)
Read into an array of doubles (IDL sequence<double>) from the stream.
 o read_estruct(String)
 o read_float()
Read an IDL float value from the stream.
 o read_float_array(float[], int, int)
Read into an array of floats (IDL sequence<float>) from the stream.
 o read_long()
Read an IDL long value from the stream.
 o read_long_array(int[], int, int)
Read into an array of ints (IDL sequence<long>) from the stream.
 o read_longlong()
Read an IDL long long value from the stream.
 o read_longlong_array(long[], int, int)
Read into an array of longs (IDL sequence<longlong>) from the stream.
 o read_Object()
Read an IDL Object value from the stream.
 o read_octet()
Read an IDL octet value from the stream.
 o read_octet_array(byte[], int, int)
Read into an array of bytes (IDL sequence<octet>) from the stream.
 o read_Principal()
Read an IDL Principal value from the stream.
 o read_short()
Read an IDL short value from the stream.
 o read_short_array(short[], int, int)
Read into an array of shorts (IDL sequence<short>) from the stream.
 o read_string()
Read an IDL string value from the stream.
 o read_TypeCode()
Read an IDL TypeCode value from the stream.
 o read_ulong()
Read an IDL unsigned long value from the stream.
 o read_ulong_array(int[], int, int)
Read into an array of ints (IDL sequence<unsigned long>) from the stream.
 o read_ulonglong()
Read an IDL unsigned long long value from the stream.
 o read_ulonglong_array(long[], int, int)
Read into an array of longs (IDL sequence<uunsigned long long>) from the stream.
 o read_ushort()
Read an IDL unsigned short value from the stream.
 o read_ushort_array(short[], int, int)
Read into an array of shorts (IDL sequence<unsigned short>) from the stream.
 o read_wchar()
Read an IDL wchar value from the stream.
 o read_wchar_array(char[], int, int)
Read into an array of unicode characters (IDL sequence<wchar>) from the stream.
 o read_wstring()
Read an IDL wstring value from the stream.

Constructors

 o InputStream
 public InputStream()

Methods

 o read_boolean
 public abstract boolean read_boolean()
Read an IDL boolean value from the stream.

 o read_char
 public abstract char read_char()
Read an IDL char value from the stream.

 o read_wchar
 public abstract char read_wchar()
Read an IDL wchar value from the stream.

 o read_octet
 public abstract byte read_octet()
Read an IDL octet value from the stream.

 o read_short
 public abstract short read_short()
Read an IDL short value from the stream.

 o read_ushort
 public abstract short read_ushort()
Read an IDL unsigned short value from the stream.

 o read_long
 public abstract int read_long()
Read an IDL long value from the stream.

 o read_ulong
 public abstract int read_ulong()
Read an IDL unsigned long value from the stream.

 o read_longlong
 public abstract long read_longlong()
Read an IDL long long value from the stream.

 o read_ulonglong
 public abstract long read_ulonglong()
Read an IDL unsigned long long value from the stream.

 o read_float
 public abstract float read_float()
Read an IDL float value from the stream.

 o read_double
 public abstract double read_double()
Read an IDL double value from the stream.

 o read_string
 public abstract String read_string()
Read an IDL string value from the stream.

 o read_wstring
 public abstract String read_wstring()
Read an IDL wstring value from the stream.

 o read_Object
 public abstract Object read_Object()
Read an IDL Object value from the stream.

 o read_TypeCode
 public abstract TypeCode read_TypeCode()
Read an IDL TypeCode value from the stream.

 o read_any
 public abstract Any read_any()
Read an IDL any value from the stream.

 o read_Principal
 public abstract Principal read_Principal()
Read an IDL Principal value from the stream.

 o read_boolean_array
 public abstract void read_boolean_array(boolean value[],
                                         int offset,
                                         int length)
Read into an array of booleans (IDL sequence<boolean>) from the stream.

Parameters:
value - the boolean array to read into
offset - the offset at which to start reading (usually 0)
length - the number of booleans to read (usually value.length)
 o read_char_array
 public abstract void read_char_array(char value[],
                                      int offset,
                                      int length)
Read into an array of ASCII chararcters (IDL sequence<char>) from the stream.

Parameters:
value - the char array to read into
offset - the offset at which to start reading (usually 0)
length - the number of chars to read (usually value.length)
 o read_wchar_array
 public abstract void read_wchar_array(char value[],
                                       int offset,
                                       int length)
Read into an array of unicode characters (IDL sequence<wchar>) from the stream.

Parameters:
value - the char array to read into
offset - the offset at which to start reading (usually 0)
length - the number of chars to read (usually value.length)
 o read_octet_array
 public abstract void read_octet_array(byte value[],
                                       int offset,
                                       int length)
Read into an array of bytes (IDL sequence<octet>) from the stream.

Parameters:
value - the byte array to read into
offset - the offset at which to start reading (usually 0)
length - the number of bytes to read (usually value.length)
 o read_short_array
 public abstract void read_short_array(short value[],
                                       int offset,
                                       int length)
Read into an array of shorts (IDL sequence<short>) from the stream.

Parameters:
value - the short array to read into
offset - the offset at which to start reading (usually 0)
length - the number of shorts to read (usually value.length)
 o read_ushort_array
 public abstract void read_ushort_array(short value[],
                                        int offset,
                                        int length)
Read into an array of shorts (IDL sequence<unsigned short>) from the stream.

Parameters:
value - the short array to read into
offset - the offset at which to start reading (usually 0)
length - the number of shorts to read (usually value.length)
 o read_long_array
 public abstract void read_long_array(int value[],
                                      int offset,
                                      int length)
Read into an array of ints (IDL sequence<long>) from the stream.

Parameters:
value - the int array to read into
offset - the offset at which to start reading (usually 0)
length - the number of ints to read (usually value.length)
 o read_ulong_array
 public abstract void read_ulong_array(int value[],
                                       int offset,
                                       int length)
Read into an array of ints (IDL sequence<unsigned long>) from the stream.

Parameters:
value - the int array to read into
offset - the offset at which to start reading (usually 0)
length - the number of ints to read (usually value.length)
 o read_longlong_array
 public abstract void read_longlong_array(long value[],
                                          int offset,
                                          int length)
Read into an array of longs (IDL sequence<longlong>) from the stream.

Parameters:
value - the long array to read into
offset - the offset at which to start reading (usually 0)
length - the number of longs to read (usually value.length)
 o read_ulonglong_array
 public abstract void read_ulonglong_array(long value[],
                                           int offset,
                                           int length)
Read into an array of longs (IDL sequence<uunsigned long long>) from the stream.

Parameters:
value - the long array to read into
offset - the offset at which to start reading (usually 0)
length - the number of longs to read (usually value.length)
 o read_float_array
 public abstract void read_float_array(float value[],
                                       int offset,
                                       int length)
Read into an array of floats (IDL sequence<float>) from the stream.

Parameters:
value - the float array to read into
offset - the offset at which to start reading (usually 0)
length - the number of floats to read (usually value.length)
 o read_double_array
 public abstract void read_double_array(double value[],
                                        int offset,
                                        int length)
Read into an array of doubles (IDL sequence<double>) from the stream.

Parameters:
value - the double array to read into
offset - the offset at which to start reading (usually 0)
length - the number of doubles to read (usually value.length)
 o read_estruct
 public Object read_estruct(String expected_type)
 o read
 public int read() throws IOException
Overrides:
read in class InputStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index