FileDocCategorySizeDatePackage
DataInputStream.javaAPI DocJava SE 5 API15237Fri Aug 26 14:58:28 BST 2005org.omg.CORBA

DataInputStream

public interface DataInputStream implements org.omg.CORBA.portable.ValueBase
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
org.omg.CORBA.DataOutputStream
see
org.omg.CORBA.CustomMarshal
version
1.10 12/19/03

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Objectread_Abstract()
Reads an IDL Abstract interface from the input stream.

return
the Abstract interface read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public org.omg.CORBA.Objectread_Object()
Reads an IDL CORBA::Object from the input stream.

return
the CORBA::Object read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public org.omg.CORBA.TypeCoderead_TypeCode()
Reads an IDL typecode from the input stream.

return
the typecode read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public java.io.Serializableread_Value()
Reads an IDL value type from the input stream.

return
the value type read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public org.omg.CORBA.Anyread_any()
Reads an IDL Any value from the input stream.

return
the Any read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_any_array(org.omg.CORBA.AnySeqHolder seq, int offset, int length)
Reads array of IDL Anys from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public booleanread_boolean()
Reads an IDL boolean value from the input stream.

return
the boolean read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_boolean_array(org.omg.CORBA.BooleanSeqHolder seq, int offset, int length)
Reads array of IDL booleans from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public charread_char()
Reads an IDL character value from the input stream.

return
the character read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_char_array(org.omg.CORBA.CharSeqHolder seq, int offset, int length)
Reads array of IDL characters from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public doubleread_double()
Reads an IDL double from the input stream.

return
the double read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_double_array(org.omg.CORBA.DoubleSeqHolder seq, int offset, int length)
Reads array of IDL doubles from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public floatread_float()
Reads an IDL float from the input stream.

return
the float read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_float_array(org.omg.CORBA.FloatSeqHolder seq, int offset, int length)
Reads array of IDL floats from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public intread_long()
Reads an IDL long from the input stream.

return
the long read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_long_array(org.omg.CORBA.LongSeqHolder seq, int offset, int length)
Reads array of IDL longs from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public longread_longlong()
Reads an IDL long long from the input stream.

return
the long long read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_longlong_array(org.omg.CORBA.LongLongSeqHolder seq, int offset, int length)
Reads array of IDL long longs from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public byteread_octet()
Reads an IDL octet value from the input stream.

return
the octet value read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_octet_array(org.omg.CORBA.OctetSeqHolder seq, int offset, int length)
Reads array of IDL octets from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public shortread_short()
Reads an IDL short from the input stream.

return
the short read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_short_array(org.omg.CORBA.ShortSeqHolder seq, int offset, int length)
Reads array of IDL shorts from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public java.lang.Stringread_string()
Reads an IDL string from the input stream.

return
the string read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public intread_ulong()
Reads an IDL unsigned long from the input stream.

return
the unsigned long read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_ulong_array(org.omg.CORBA.ULongSeqHolder seq, int offset, int length)
Reads array of IDL unsigned longs from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public longread_ulonglong()
Reads an unsigned IDL long long from the input stream.

return
the unsigned long long read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_ulonglong_array(org.omg.CORBA.ULongLongSeqHolder seq, int offset, int length)
Reads array of IDL unsigned long longs from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

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

return
the unsigned short read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_ushort_array(org.omg.CORBA.UShortSeqHolder seq, int offset, int length)
Reads array of IDL unsigned shorts from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public charread_wchar()
Reads an IDL wide character value from the input stream.

return
the wide character read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public voidread_wchar_array(org.omg.CORBA.WCharSeqHolder seq, int offset, int length)
Reads array of IDL wide characters from offset for length elements from the input stream.

param
seq The out parameter holder for the array to be read.
param
offset The index into seq of the first element to read from the input stream.
param
length The number of elements to read from the input stream.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.

public java.lang.Stringread_wstring()
Reads an IDL wide string from the input stream.

return
the wide string read.
throws
org.omg.CORBA.MARSHAL If an inconsistency is detected, including not having registered a streaming policy, then the standard system exception MARSHAL is raised.