Package org.omg.CORBA
Interface DataInputStream
- All Superinterfaces:
IDLEntity,Serializable,ValueBase
- All Known Implementing Classes:
CDRInputObject,CDRInputStream,CorbaInputObject,EncapsInputStream,TypeCodeInputStream
Defines the methods used to read primitive data types from input streams
for unmarshaling custom value types. This interface is used by user
written custom unmarshaling code for custom value types.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReads an IDL Abstract interface from the input stream.read_any()Reads an IDLAnyvalue from the input stream.voidread_any_array(AnySeqHolder seq, int offset, int length) Reads array of IDL Anys from offset for length elements from the input stream.booleanReads an IDL boolean value from the input stream.voidread_boolean_array(BooleanSeqHolder seq, int offset, int length) Reads array of IDL booleans from offset for length elements from the input stream.charReads an IDL character value from the input stream.voidread_char_array(CharSeqHolder seq, int offset, int length) Reads array of IDL characters from offset for length elements from the input stream.doubleReads an IDL double from the input stream.voidread_double_array(DoubleSeqHolder seq, int offset, int length) Reads array of IDL doubles from offset for length elements from the input stream.floatReads an IDL float from the input stream.voidread_float_array(FloatSeqHolder seq, int offset, int length) Reads array of IDL floats from offset for length elements from the input stream.intReads an IDL long from the input stream.voidread_long_array(LongSeqHolder seq, int offset, int length) Reads array of IDL longs from offset for length elements from the input stream.longReads an IDL long long from the input stream.voidread_longlong_array(LongLongSeqHolder seq, int offset, int length) Reads array of IDL long longs from offset for length elements from the input stream.Reads an IDL CORBA::Object from the input stream.byteReads an IDL octet value from the input stream.voidread_octet_array(OctetSeqHolder seq, int offset, int length) Reads array of IDL octets from offset for length elements from the input stream.shortReads an IDL short from the input stream.voidread_short_array(ShortSeqHolder seq, int offset, int length) Reads array of IDL shorts from offset for length elements from the input stream.Reads an IDL string from the input stream.Reads an IDL typecode from the input stream.intReads an IDL unsigned long from the input stream.voidread_ulong_array(ULongSeqHolder seq, int offset, int length) Reads array of IDL unsigned longs from offset for length elements from the input stream.longReads an unsigned IDL long long from the input stream.voidread_ulonglong_array(ULongLongSeqHolder seq, int offset, int length) Reads array of IDL unsigned long longs from offset for length elements from the input stream.shortReads an IDL unsigned short from the input stream.voidread_ushort_array(UShortSeqHolder seq, int offset, int length) Reads array of IDL unsigned shorts from offset for length elements from the input stream.Reads an IDL value type from the input stream.charReads an IDL wide character value from the input stream.voidread_wchar_array(WCharSeqHolder seq, int offset, int length) Reads array of IDL wide characters from offset for length elements from the input stream.Reads an IDL wide string from the input stream.Methods inherited from interface org.omg.CORBA.portable.ValueBase
_truncatable_ids
-
Method Details
-
read_any
Any read_any()Reads an IDLAnyvalue from the input stream.- Returns:
- the
Anyread.
-
read_boolean
boolean read_boolean()Reads an IDL boolean value from the input stream.- Returns:
- the boolean read.
-
read_char
char read_char()Reads an IDL character value from the input stream.- Returns:
- the character read.
-
read_wchar
char read_wchar()Reads an IDL wide character value from the input stream.- Returns:
- the wide character read.
-
read_octet
byte read_octet()Reads an IDL octet value from the input stream.- Returns:
- the octet value read.
-
read_short
short read_short()Reads an IDL short from the input stream.- Returns:
- the short read.
-
read_ushort
short read_ushort()Reads an IDL unsigned short from the input stream.- Returns:
- the unsigned short read.
-
read_long
int read_long()Reads an IDL long from the input stream.- Returns:
- the long read.
-
read_ulong
int read_ulong()Reads an IDL unsigned long from the input stream.- Returns:
- the unsigned long read.
-
read_longlong
long read_longlong()Reads an IDL long long from the input stream.- Returns:
- the long long read.
-
read_ulonglong
long read_ulonglong()Reads an unsigned IDL long long from the input stream.- Returns:
- the unsigned long long read.
-
read_float
float read_float()Reads an IDL float from the input stream.- Returns:
- the float read.
-
read_double
double read_double()Reads an IDL double from the input stream.- Returns:
- the double read.
-
read_string
String read_string()Reads an IDL string from the input stream.- Returns:
- the string read.
-
read_wstring
String read_wstring()Reads an IDL wide string from the input stream.- Returns:
- the wide string read.
-
read_Object
Object read_Object()Reads an IDL CORBA::Object from the input stream.- Returns:
- the CORBA::Object read.
-
read_Abstract
Object read_Abstract()Reads an IDL Abstract interface from the input stream.- Returns:
- the Abstract interface read.
-
read_Value
Serializable read_Value()Reads an IDL value type from the input stream.- Returns:
- the value type read.
-
read_TypeCode
TypeCode read_TypeCode()Reads an IDL typecode from the input stream.- Returns:
- the typecode read.
-
read_any_array
Reads array of IDL Anys from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_boolean_array
Reads array of IDL booleans from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_char_array
Reads array of IDL characters from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_wchar_array
Reads array of IDL wide characters from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_octet_array
Reads array of IDL octets from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_short_array
Reads array of IDL shorts from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_ushort_array
Reads array of IDL unsigned shorts from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_long_array
Reads array of IDL longs from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_ulong_array
Reads array of IDL unsigned longs from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_ulonglong_array
Reads array of IDL unsigned long longs from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_longlong_array
Reads array of IDL long longs from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_float_array
Reads array of IDL floats from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-
read_double_array
Reads array of IDL doubles from offset for length elements from the input stream.- Parameters:
seq- The out parameter holder for the array to be read.offset- The index into seq of the first element to read from the input stream.length- The number of elements to read from the input stream.
-