org.omg.CORBA.portable
public abstract class InputStream extends InputStream
Method Summary | |
---|---|
ORB | orb()
Return the Object Request Broker that has created this stream. |
int | read()
Should read from the stream, but following specification it does not. |
abstract Any | read_any()
Read a CORBA Any . |
abstract boolean | read_boolean()
Read a CORBA boolean . |
abstract void | read_boolean_array(boolean[] value, int offset, int length)
Read a and array of CORBA boolean values. |
abstract char | read_char()
Read a CORBA char . |
abstract void | read_char_array(char[] value, int offset, int length)
Read a and array of CORBA characters. |
Context | read_Context()
This should read the CORBA context, but following the 1.4 API
specification, it must not be implemented.
|
abstract double | read_double()
Read a CORBA double . |
abstract void | read_double_array(double[] value, int offset, int length)
Read a and array of CORBA doubles. |
BigDecimal | read_fixed()
Read a CORBA fixed . |
abstract float | read_float()
Read a CORBA float . |
abstract void | read_float_array(float[] value, int offset, int length)
Read a and array of CORBA float. |
abstract int | read_long()
Read a CORBA long that is mapped into java int . |
abstract long | read_longlong()
Read a CORBA long long that is mapped into java
long . |
abstract void | read_longlong_array(long[] value, int offset, int length)
Read an array of CORBA long long |
abstract void | read_long_array(int[] value, int offset, int length)
Read a and array of CORBA longs. |
abstract byte | read_octet()
Read a CORBA octed that is mapped into java byte . |
abstract void | read_octet_array(byte[] value, int offset, int length)
Read a and array of CORBA octets that are mapped into java array of
bytes. |
abstract Object | read_Object()
Read a CORBA (not java) object |
Object | read_Object(Class klass)
Read a CORBA object that is an instance of the class, passed
as an argument. |
Principal | read_Principal()
Read a CORBA Principal . |
abstract short | read_short()
Read a CORBA short . |
abstract void | read_short_array(short[] value, int offset, int length) |
abstract String | read_string()
Read a CORBA string that is mapped into java
String . |
abstract TypeCode | read_TypeCode()
Read a TypeCode. |
abstract int | read_ulong()
Read a CORBA unsigned long that is mapped into java int . |
abstract long | read_ulonglong()
Read a and array of CORBA unsigned longs. |
abstract void | read_ulonglong_array(long[] value, int offset, int length)
Read a and array of CORBA unsigned longs. |
abstract void | read_ulong_array(int[] value, int offset, int length)
Read an array of CORBA unsigned long. |
abstract short | read_ushort()
Read a CORBA unsigned short that is mapped into java short . |
abstract void | read_ushort_array(short[] value, int offset, int length)
Read a and array of CORBA unsigned shorts. |
abstract char | read_wchar()
Read a CORBA wchar that is mapped into java char . |
abstract void | read_wchar_array(char[] value, int offset, int length) |
abstract String | read_wstring()
Read a CORBA wstring that is mapped into
java String . |
Returns: the ORB. This must be overridden, as the default method always returns null.
Throws: java.io.IOException NO_IMPLEMENT, always.
Any
.Returns: an Any
.
boolean
.Returns: a value, corresponding the value of the CORBA boolean
.
char
.Returns: a value, corresponding the value of the CORBA char
.
Throws: NO_IMPLEMENT, always.
double
.Returns: a value, corresponding the value of the CORBA double
.
fixed
. This method is not abstract,
but following the specifications it must not be implemented.
Throws: NO_IMPLEMENT, always.
float
.Returns: a value, corresponding the value of the CORBA float
.
long
that is mapped into java int
.Returns: an integer, corresponding the CORBA long
.
long long
that is mapped into java
long
.Returns: a value, corresponding the CORBA long long
long long
octed
that is mapped into java byte
.Returns: a byte, corresponding the CORBA octet
.
Returns: an object.
Parameters: klass a CORBA class
Throws: NO_IMPLEMENT, always.
Deprecated: by CORBA 2.2
Read a CORBAPrincipal
.Returns: a Principal.
short
.Returns: a value, corresponding the value of the CORBA short
.
string
that is mapped into java
String
.Returns: a value, corresponding the value of the CORBA
string
.
Returns: a TypeCode.
int
.Returns: an integer, matching the CORBA unsigned long
.
short
.Returns: a value of the CORBA unsigned short
.
wchar
that is mapped into java char
.Returns: a value, corresponding the value of the CORBA wchar
.
wstring
that is mapped into
java String
.Returns: a string, corresponding CORBA wstring
.