org.omg.CORBA
Interface DataInputStream

All Superinterfaces:
IDLEntity, Serializable, ValueBase

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 CustomValue that uses this interface.

See Also:
CustomValue, CustomMarshal

Method Summary
 Object read_Abstract()
          Read abstract interface.
 void read_any_array(AnySeqHolder seq, int offset, int length)
          Read array of Any's.
 Any read_any()
          Read Any.
 void read_boolean_array(BooleanSeqHolder seq, int offset, int length)
          Read boolean array.
 boolean read_boolean()
          Read boolean.
 void read_char_array(CharSeqHolder seq, int offset, int length)
          Read array of narrow (usually 8 bit) chars.
 char read_char()
          Read narrow (usually 8 bit) char.
 void read_double_array(DoubleSeqHolder seq, int offset, int length)
          Read array of doubles.
 double read_double()
          Read dobule.
 void read_float_array(FloatSeqHolder seq, int offset, int length)
          Read array of floats.
 float read_float()
          Read float.
 void read_long_array(LongSeqHolder seq, int offset, int length)
          Read array of CORBA longs (java ints).
 int read_long()
          Read CORBA long (java int, 32 bits).
 void read_longlong_array(LongLongSeqHolder seq, int offset, int length)
          Read array of CORBA long longs (java longs).
 long read_longlong()
          Read CORBA long long (java long, 64 bits).
 Object read_Object()
          Read CORBA object.
 void read_octet_array(OctetSeqHolder seq, int offset, int length)
          Read array of bytes.
 byte read_octet()
          Read octet (byte).
 void read_short_array(ShortSeqHolder seq, int offset, int length)
          Read array of shorts (16 bit ints).
 short read_short()
          Read short (16 bit int).
 String read_string()
          Read narrow string (usually 8 bits per character).
 TypeCode read_TypeCode()
          Read typecode.
 void read_ulong_array(ULongSeqHolder seq, int offset, int length)
          Read array of CORBA unsigned longs (java ints).
 int read_ulong()
          Read CORBA unsigned long (java int).
 void read_ulonglong_array(ULongLongSeqHolder seq, int offset, int length)
          Read array of CORBA unsigned long longs (java longs).
 long read_ulonglong()
          Read unsigned CORBA long long (java long, 64 bits).
 void read_ushort_array(UShortSeqHolder seq, int offset, int length)
          Read array of unsigned shorts (16 bit ints).
 short read_ushort()
          Read unsigned short.
 Serializable read_Value()
          Read the CORBA value type.
 void read_wchar_array(WCharSeqHolder seq, int offset, int length)
          Read array of wide (usually 16 bit) chars.
 char read_wchar()
          Read wide (usually 16 bit) char.
 String read_wstring()
          Read wide string (usually 16 bits per character).
 
Methods inherited from interface org.omg.CORBA.portable.ValueBase
_truncatable_ids
 

Method Detail

read_any

Any read_any()
Read Any.

Returns:
a value, extracted from the stream.

read_boolean

boolean read_boolean()
Read boolean.

Returns:
a value, extracted from the stream.

read_char

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

Returns:
a value, extracted from the stream.

read_wchar

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

Returns:
a value, extracted from the stream.

read_octet

byte read_octet()
Read octet (byte).

Returns:
a value, extracted from the stream.

read_short

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

Returns:
a value, extracted from the stream.

read_ushort

short read_ushort()
Read unsigned short.

Returns:
a value, extracted from the stream.

read_long

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

Returns:
a value, extracted from the stream.

read_ulong

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

Returns:
a value, extracted from the stream.

read_longlong

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

Returns:
a value, extracted from the stream.

read_ulonglong

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

Returns:
a value, extracted from the stream.

read_float

float read_float()
Read float.

Returns:
a value, extracted from the stream.

read_double

double read_double()
Read dobule.

Returns:
a value, extracted from the stream.

read_string

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

Returns:
a value, extracted from the stream.

read_wstring

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

Returns:
a value, extracted from the stream.

read_Object

Object read_Object()
Read CORBA object.

Returns:
a value, extracted from the stream. May be null if the null was previously written by DataOutputStream.write_Object(org.omg.CORBA.Object).

read_Abstract

Object read_Abstract()
Read abstract interface.

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

read_Value

Serializable read_Value()
Read the CORBA value type.

Returns:
a value, extracted from the stream.

read_TypeCode

TypeCode read_TypeCode()
Read typecode.

Returns:
a value, extracted from the stream.

read_any_array

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_array

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_array

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_wchar_array

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_octet_array

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_short_array

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_ushort_array

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_long_array

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_ulong_array

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_ulonglong_array

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_longlong_array

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_float_array

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_double_array

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.