VisiBroker for Java

org.omg.CORBA
Interface DataInputStream

All Superinterfaces:
IDLEntity, java.io.Serializable, ValueBase

public interface DataInputStream
extends ValueBase

Provides methods to read primitive data types from input stream when unmarshaling customer value types. All the methods in this class can throw CORBA::MARSHAL system exception.


Method Summary
 java.lang.Object read_Abstract()
          Read an Abstract Interface from the input stream.
 void read_any_array(AnySeqHolder seq, int offset, int length)
          Reads an array of CORBA::Any from the input stream.
 Any read_any()
          Reads a CORBA::Any from the input stream.
 void read_boolean_array(BooleanSeqHolder seq, int offset, int length)
          Reads an array of boolean from the input stream.
 boolean read_boolean()
          Reads a boolean from the input stream.
 void read_char_array(CharSeqHolder seq, int offset, int length)
          Reads an array of IDL char from the input stream.
 char read_char()
          Reads an IDL char from the input stream.
 void read_double_array(DoubleSeqHolder seq, int offset, int length)
          Reads an array of IDL double from the input stream.
 double read_double()
          Reads an IDL double from the input stream.
 void read_float_array(FloatSeqHolder seq, int offset, int length)
          Reads an array of IDL float from the input stream.
 float read_float()
          Reads an IDL float from the input stream.
 void read_long_array(LongSeqHolder seq, int offset, int length)
          Reads an array of IDL long (Java int) from the input stream.
 int read_long()
          Reads an IDL long (Java int) from the input stream.
 void read_longlong_array(LongLongSeqHolder seq, int offset, int length)
          Reads an array of IDL long long (Java long) from the input stream.
 long read_longlong()
          Reads an IDL long long (Java long) from the input stream.
 Object read_Object()
          Reads a CORBA::Object from the input stream.
 void read_octet_array(org.omg.CORBA.OctetSequenceHolder seq, int offset, int length)
          Reads an array of IDL octet from the input stream.
 byte read_octet()
          Reads an IDL octet from the input stream.
 void read_short_array(ShortSeqHolder seq, int offset, int length)
          Reads an array of IDL short from the input stream.
 short read_short()
          Reads an IDL short from the input stream.
 java.lang.String read_string()
          Reads an IDL string from the input stream.
 TypeCode read_TypeCode()
          Reads a TypeCode from the input stream.
 void read_ulong_array(ULongSeqHolder seq, int offset, int length)
          Reads an array of IDL unsigned long (Java int) from the input stream.
 int read_ulong()
          Reads an IDL unsigned long (Java int) from the input stream.
 void read_ulonglong_array(ULongLongSeqHolder seq, int offset, int length)
          Reads an array of IDL unsigned long long (Java long) from the input stream.
 long read_ulonglong()
          Reads an IDL unsigned long long (Java long) from the input stream.
 void read_ushort_array(UShortSeqHolder seq, int offset, int length)
          Reads an array of IDL unsigned short from the input stream.
 short read_ushort()
          Reads an IDL unsigned short from the input stream.
 java.io.Serializable read_Value()
          Reads a value type from the input stream.
 void read_wchar_array(WCharSeqHolder seq, int offset, int length)
          Reads an array of IDL wchar from the input stream.
 char read_wchar()
          Reads an IDL wchar from the input stream.
 java.lang.String read_wstring()
          Reads an IDL wstring from the input stream.
 
Methods inherited from interface org.omg.CORBA.portable.ValueBase
_truncatable_ids
 

Method Detail

read_double_array

void read_double_array(DoubleSeqHolder seq,
                       int offset,
                       int length)
Reads an array of IDL double from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_float_array

void read_float_array(FloatSeqHolder seq,
                      int offset,
                      int length)
Reads an array of IDL float from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_ulonglong_array

void read_ulonglong_array(ULongLongSeqHolder seq,
                          int offset,
                          int length)
Reads an array of IDL unsigned long long (Java long) from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_longlong_array

void read_longlong_array(LongLongSeqHolder seq,
                         int offset,
                         int length)
Reads an array of IDL long long (Java long) from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_ulong_array

void read_ulong_array(ULongSeqHolder seq,
                      int offset,
                      int length)
Reads an array of IDL unsigned long (Java int) from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_long_array

void read_long_array(LongSeqHolder seq,
                     int offset,
                     int length)
Reads an array of IDL long (Java int) from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_ushort_array

void read_ushort_array(UShortSeqHolder seq,
                       int offset,
                       int length)
Reads an array of IDL unsigned short from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_short_array

void read_short_array(ShortSeqHolder seq,
                      int offset,
                      int length)
Reads an array of IDL short from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_octet_array

void read_octet_array(org.omg.CORBA.OctetSequenceHolder seq,
                      int offset,
                      int length)
Reads an array of IDL octet from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_wchar_array

void read_wchar_array(WCharSeqHolder seq,
                      int offset,
                      int length)
Reads an array of IDL wchar from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_char_array

void read_char_array(CharSeqHolder seq,
                     int offset,
                     int length)
Reads an array of IDL char from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_boolean_array

void read_boolean_array(BooleanSeqHolder seq,
                        int offset,
                        int length)
Reads an array of boolean from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_any_array

void read_any_array(AnySeqHolder seq,
                    int offset,
                    int length)
Reads an array of CORBA::Any from the input stream.

Parameters:
seq - Holder containing the read array.
offset - index into the seq array where the first element read will be placed.
length - number of elements to read.

read_TypeCode

TypeCode read_TypeCode()
Reads a TypeCode from the input stream.

Returns:
the TypeCode read from the input stream.

read_Value

java.io.Serializable read_Value()
Reads a value type from the input stream.

Returns:
the value type read from the input stream.

read_Abstract

java.lang.Object read_Abstract()
Read an Abstract Interface from the input stream.

Returns:
the Abstract Interface read from the input stream.

read_Object

Object read_Object()
Reads a CORBA::Object from the input stream.

Returns:
the CORBA::Object read from the input stream.

read_string

java.lang.String read_string()
Reads an IDL string from the input stream.

Returns:
the IDL string read from the input stream.

read_double

double read_double()
Reads an IDL double from the input stream.

Returns:
the IDL double read from the input stream.

read_float

float read_float()
Reads an IDL float from the input stream.

Returns:
the IDL float read from the input stream.

read_ulonglong

long read_ulonglong()
Reads an IDL unsigned long long (Java long) from the input stream.

Returns:
the IDL unsigned long long read from the input stream.

read_longlong

long read_longlong()
Reads an IDL long long (Java long) from the input stream.

Returns:
the IDL long long read from the input stream.

read_ulong

int read_ulong()
Reads an IDL unsigned long (Java int) from the input stream.

Returns:
the IDL unsigned long read from the input stream.

read_long

int read_long()
Reads an IDL long (Java int) from the input stream.

Returns:
the IDL long read from the input stream.

read_ushort

short read_ushort()
Reads an IDL unsigned short from the input stream.

Returns:
the IDL unsigned short read from the input stream.

read_short

short read_short()
Reads an IDL short from the input stream.

Returns:
the IDL short read from the input stream.

read_octet

byte read_octet()
Reads an IDL octet from the input stream.

Returns:
the IDL octet read from the input stream.

read_wchar

char read_wchar()
Reads an IDL wchar from the input stream.

Returns:
the IDL wchar read from the input stream.

read_wstring

java.lang.String read_wstring()
Reads an IDL wstring from the input stream.

Returns:
the IDL wstring read from the input stream.

read_char

char read_char()
Reads an IDL char from the input stream.

Returns:
the IDL char read from the input stream.

read_boolean

boolean read_boolean()
Reads a boolean from the input stream.

Returns:
the boolean read from the input stream.

read_any

Any read_any()
Reads a CORBA::Any from the input stream.

Returns:
the CORBA::Any read from the input stream.

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online