Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
public interface DataInputStream
extends ValueBase
CustomValue
that uses this interface.
CustomValue
, CustomMarshal
Method Summary | |
Object |
|
Object |
|
TypeCode |
|
Serializable |
|
Any | |
void |
|
boolean |
|
void |
|
char |
|
void |
|
double |
|
void |
|
float |
|
void |
|
int |
|
void |
|
long |
|
void |
|
byte |
|
void |
|
short |
|
void |
|
String |
|
int |
|
void |
|
long |
|
void |
|
short |
|
void |
|
char |
|
void |
|
String |
|
Methods inherited from interface org.omg.CORBA.portable.ValueBase | |
_truncatable_ids |
public Object read_Abstract()
Read abstract interface.
- Returns:
- a value, extracted from the stream. May be either CORBA Object or CORBA value type.
public 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(Object)
.
public TypeCode read_TypeCode()
Read typecode.
- Returns:
- a value, extracted from the stream.
public Serializable read_Value()
Read the CORBA value type.
- Returns:
- a value, extracted from the stream.
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.
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.
public char read_char()
Read narrow (usually 8 bit) char.
- Returns:
- a value, extracted from the stream.
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.
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.
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.
public int read_long()
Read CORBA long (java int, 32 bits).
- Returns:
- a value, extracted from the stream.
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.
public long read_longlong()
Read CORBA long long (java long, 64 bits).
- Returns:
- a value, extracted from the stream.
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.
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.
public short read_short()
Read short (16 bit int).
- Returns:
- a value, extracted from the stream.
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.
public String read_string()
Read narrow string (usually 8 bits per character).
- Returns:
- a value, extracted from the stream.
public int read_ulong()
Read CORBA unsigned long (java int).
- Returns:
- a value, extracted from the stream.
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.
public long read_ulonglong()
Read unsigned CORBA long long (java long, 64 bits).
- Returns:
- a value, extracted from the stream.
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.
public short read_ushort()
Read unsigned short.
- Returns:
- a value, extracted from the stream.
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.
public char read_wchar()
Read wide (usually 16 bit) char.
- Returns:
- a value, extracted from the stream.
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.
public String read_wstring()
Read wide string (usually 16 bits per character).
- Returns:
- a value, extracted from the stream.