org.omg.CORBA

Interface DataInputStream

public interface DataInputStream extends ValueBase

An interface for reading the custom value types. A value type, providing its own mechanism for reading the content, must implement the {@link CustomValue} that uses this interface.

See Also: CustomValue

Method Summary
Objectread_Abstract()
Read abstract interface.
Anyread_any()
Read {@link Any}.
voidread_any_array(AnySeqHolder seq, int offset, int length)
Read array of Any's.
booleanread_boolean()
Read boolean.
voidread_boolean_array(BooleanSeqHolder seq, int offset, int length)
Read boolean array.
charread_char()
Read narrow (usually 8 bit) char.
voidread_char_array(CharSeqHolder seq, int offset, int length)
Read array of narrow (usually 8 bit) chars.
doubleread_double()
Read dobule.
voidread_double_array(DoubleSeqHolder seq, int offset, int length)
Read array of doubles.
floatread_float()
Read float.
voidread_float_array(FloatSeqHolder seq, int offset, int length)
Read array of floats.
intread_long()
Read CORBA long (java int, 32 bits).
longread_longlong()
Read CORBA long long (java long, 64 bits).
voidread_longlong_array(LongLongSeqHolder seq, int offset, int length)
Read array of CORBA long longs (java longs).
voidread_long_array(LongSeqHolder seq, int offset, int length)
Read array of CORBA longs (java ints).
byteread_octet()
Read octet (byte).
voidread_octet_array(OctetSeqHolder seq, int offset, int length)
Read array of bytes.
Objectread_Object()
Read CORBA object.
shortread_short()
Read short (16 bit int).
voidread_short_array(ShortSeqHolder seq, int offset, int length)
Read array of shorts (16 bit ints).
Stringread_string()
Read narrow string (usually 8 bits per character).
TypeCoderead_TypeCode()
Read typecode.
intread_ulong()
Read CORBA unsigned long (java int).
longread_ulonglong()
Read unsigned CORBA long long (java long, 64 bits).
voidread_ulonglong_array(ULongLongSeqHolder seq, int offset, int length)
Read array of CORBA unsigned long longs (java longs).
voidread_ulong_array(ULongSeqHolder seq, int offset, int length)
Read array of CORBA unsigned longs (java ints).
shortread_ushort()
Read unsigned short.
voidread_ushort_array(UShortSeqHolder seq, int offset, int length)
Read array of unsigned shorts (16 bit ints).
Serializableread_Value()
Read the CORBA value type.
charread_wchar()
Read wide (usually 16 bit) char.
voidread_wchar_array(WCharSeqHolder seq, int offset, int length)
Read array of wide (usually 16 bit) chars.
Stringread_wstring()
Read wide string (usually 16 bits per character).

Method Detail

read_Abstract

public Object read_Abstract()
Read abstract interface.

Returns: a value, extracted from the stream. May be either CORBA Object or CORBA value type.

read_any

public Any read_any()
Read {@link Any}.

Returns: a value, extracted from the stream.

read_any_array

public void read_any_array(AnySeqHolder seq, int offset, int length)
Read array of Any's. The value, extracted from the stream, is returned in the .value field of the passed holder.

read_boolean

public boolean read_boolean()
Read boolean.

Returns: a value, extracted from the stream.

read_boolean_array

public void read_boolean_array(BooleanSeqHolder seq, int offset, int length)
Read boolean array. The value, extracted from the stream, is returned in the .value field of the passed holder.

read_char

public char read_char()
Read narrow (usually 8 bit) char.

Returns: a value, extracted from the stream.

read_char_array

public void read_char_array(CharSeqHolder seq, int offset, int length)
Read array of narrow (usually 8 bit) chars. The value, extracted from the stream, is returned in the .value field of the passed holder.

read_double

public double read_double()
Read dobule.

Returns: a value, extracted from the stream.

read_double_array

public void read_double_array(DoubleSeqHolder seq, int offset, int length)
Read array of doubles. The value, extracted from the stream, is returned in the .value field of the passed holder.

read_float

public float read_float()
Read float.

Returns: a value, extracted from the stream.

read_float_array

public void read_float_array(FloatSeqHolder seq, int offset, int length)
Read array of floats. The value, extracted from the stream, is returned in the .value field of the passed holder.

read_long

public int read_long()
Read CORBA long (java int, 32 bits).

Returns: a value, extracted from the stream.

read_longlong

public long read_longlong()
Read CORBA long long (java long, 64 bits).

Returns: a value, extracted from the stream.

read_longlong_array

public void read_longlong_array(LongLongSeqHolder seq, int offset, int length)
Read array of CORBA long longs (java longs). The value, extracted from the stream, is returned in the .value field of the passed holder.

read_long_array

public void read_long_array(LongSeqHolder seq, int offset, int length)
Read array of CORBA longs (java ints). The value, extracted from the stream, is returned in the .value field of the passed holder.

read_octet

public byte read_octet()
Read octet (byte).

Returns: a value, extracted from the stream.

read_octet_array

public void read_octet_array(OctetSeqHolder seq, int offset, int length)
Read array of bytes. The value, extracted from the stream, is returned in the .value field of the passed holder.

read_Object

public Object read_Object()
Read CORBA object.

Returns: a value, extracted from the stream. May be null if the null was previously written by {@link DataOutputStream#write_Object}.

read_short

public short read_short()
Read short (16 bit int).

Returns: a value, extracted from the stream.

read_short_array

public void read_short_array(ShortSeqHolder seq, int offset, int length)
Read array of shorts (16 bit ints). The value, extracted from the stream, is returned in the .value field of the passed holder.

read_string

public String read_string()
Read narrow string (usually 8 bits per character).

Returns: a value, extracted from the stream.

read_TypeCode

public TypeCode read_TypeCode()
Read typecode.

Returns: a value, extracted from the stream.

read_ulong

public int read_ulong()
Read CORBA unsigned long (java int).

Returns: a value, extracted from the stream.

read_ulonglong

public long read_ulonglong()
Read unsigned CORBA long long (java long, 64 bits).

Returns: a value, extracted from the stream.

read_ulonglong_array

public void read_ulonglong_array(ULongLongSeqHolder seq, int offset, int length)
Read array of CORBA unsigned long longs (java longs). The value, extracted from the stream, is returned in the .value field of the passed holder.

read_ulong_array

public void read_ulong_array(ULongSeqHolder seq, int offset, int length)
Read array of CORBA unsigned longs (java ints). The value, extracted from the stream, is returned in the .value field of the passed holder.

read_ushort

public short read_ushort()
Read unsigned short.

Returns: a value, extracted from the stream.

read_ushort_array

public void read_ushort_array(UShortSeqHolder seq, int offset, int length)
Read array of unsigned shorts (16 bit ints). The value, extracted from the stream, is returned in the .value field of the passed holder.

read_Value

public Serializable read_Value()
Read the CORBA value type.

Returns: a value, extracted from the stream.

read_wchar

public char read_wchar()
Read wide (usually 16 bit) char.

Returns: a value, extracted from the stream.

read_wchar_array

public void read_wchar_array(WCharSeqHolder seq, int offset, int length)
Read array of wide (usually 16 bit) chars. The value, extracted from the stream, is returned in the .value field of the passed holder.

read_wstring

public String read_wstring()
Read wide string (usually 16 bits per character).

Returns: a value, extracted from the stream.