|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.InputStream | +--org.omg.CORBA.portable.InputStream | +--org.omg.CORBA_2_3.portable.InputStream | +--org.openorb.io.ListInputStream
This implementation of org.omg.CORBA_2_3.portable.InputStream uses a list as it's backing store. All non primative types are stored by reference.
Constructor Summary | |
ListInputStream(ORB orb,
java.util.List source)
Create new list input stream. |
Method Summary | |
int |
available()
This operation is not available as the stream does not deal with bytes. |
boolean |
equals(java.lang.Object obj)
Compare this ListInputStream to another ListInputStream or ListOutputStream. |
java.lang.String |
get_codebase()
Get codebase associated with stream. |
int |
getIndex()
Get the index into the source. |
java.util.List |
getSource()
Get the list source of the data. |
java.util.List |
getSourceTail()
Get the sublist containing the remaining data |
void |
mark(int ign)
Mark the position for later resetting. |
boolean |
markAvailable()
Returns true. |
java.lang.Object |
next()
|
ORB |
orb()
Get the orb associated with the stream. |
java.lang.Object |
peek()
|
java.lang.Object |
read_abstract_interface()
|
java.lang.Object |
read_abstract_interface(java.lang.Class clz)
|
Any |
read_any()
|
void |
read_boolean_array(boolean[] dest,
int off,
int len)
Read a boolean array. |
boolean |
read_boolean()
Read a boolean value. |
void |
read_char_array(char[] dest,
int off,
int len)
|
char |
read_char()
|
Context |
read_Context()
|
void |
read_double_array(double[] dest,
int off,
int len)
|
double |
read_double()
|
java.math.BigDecimal |
read_fixed()
|
java.math.BigDecimal |
read_fixed(short digits,
short scale)
read a fixed. |
java.math.BigDecimal |
read_fixed(TypeCode type)
read a fixed. |
void |
read_float_array(float[] dest,
int off,
int len)
|
float |
read_float()
|
void |
read_long_array(int[] dest,
int off,
int len)
|
int |
read_long()
|
void |
read_longlong_array(long[] dest,
int off,
int len)
|
long |
read_longlong()
|
Object |
read_Object()
|
Object |
read_Object(java.lang.Class clz)
|
void |
read_octet_array(byte[] dest,
int off,
int len)
|
byte |
read_octet()
|
Principal |
read_Principal()
Deprecated. Deprecated by CORBA 2.2 |
void |
read_short_array(short[] dest,
int off,
int len)
|
short |
read_short()
|
java.lang.String |
read_string()
|
TypeCode |
read_TypeCode()
|
void |
read_ulong_array(int[] dest,
int off,
int len)
|
int |
read_ulong()
|
void |
read_ulonglong_array(long[] dest,
int off,
int len)
|
long |
read_ulonglong()
|
void |
read_ushort_array(short[] dest,
int off,
int len)
|
short |
read_ushort()
|
java.io.Serializable |
read_value()
|
java.io.Serializable |
read_value(BoxedValueHelper factory)
|
java.io.Serializable |
read_value(java.lang.Class clz)
|
java.io.Serializable |
read_value(java.io.Serializable value)
This function has a nonstandard implementation, it copies the data from the contained valuetype into the given target. |
java.io.Serializable |
read_value(java.lang.String rep_id)
|
void |
read_wchar_array(char[] dest,
int off,
int len)
|
char |
read_wchar()
|
java.lang.String |
read_wstring()
|
void |
reset()
Reset the position to one previously marked. |
void |
setIndex(int index)
Set the index into the source. |
int |
skip()
This operation is not available as the stream does not deal with bytes. |
Methods inherited from class org.omg.CORBA.portable.InputStream |
read |
Methods inherited from class java.io.InputStream |
close, markSupported, read, read, skip |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ListInputStream(ORB orb, java.util.List source)
orb
- the owning orb.source
- data source.Method Detail |
public ORB orb()
orb
in interface ExtendedInputStream
orb
in class InputStream
public java.lang.String get_codebase()
get_codebase
in interface ExtendedInputStream
public java.util.List getSource()
public java.util.List getSourceTail()
public int getIndex()
public void setIndex(int index)
public int skip()
public int available()
available
in class java.io.InputStream
public boolean markAvailable()
public void mark(int ign)
mark
in class java.io.InputStream
ign
- ignored, stream does not deal with bytes.public void reset()
reset
in class java.io.InputStream
public java.lang.Object next()
public java.lang.Object peek()
public boolean read_boolean()
read_boolean
in class InputStream
public void read_boolean_array(boolean[] dest, int off, int len)
read_boolean_array
in class InputStream
public byte read_octet()
read_octet
in class InputStream
public void read_octet_array(byte[] dest, int off, int len)
read_octet_array
in class InputStream
public short read_short()
read_short
in class InputStream
public void read_short_array(short[] dest, int off, int len)
read_short_array
in class InputStream
public short read_ushort()
read_ushort
in class InputStream
public void read_ushort_array(short[] dest, int off, int len)
read_ushort_array
in class InputStream
public int read_long()
read_long
in class InputStream
public void read_long_array(int[] dest, int off, int len)
read_long_array
in class InputStream
public int read_ulong()
read_ulong
in class InputStream
public void read_ulong_array(int[] dest, int off, int len)
read_ulong_array
in class InputStream
public long read_longlong()
read_longlong
in class InputStream
public void read_longlong_array(long[] dest, int off, int len)
read_longlong_array
in class InputStream
public long read_ulonglong()
read_ulonglong
in class InputStream
public void read_ulonglong_array(long[] dest, int off, int len)
read_ulonglong_array
in class InputStream
public char read_char()
read_char
in class InputStream
public void read_char_array(char[] dest, int off, int len)
read_char_array
in class InputStream
public char read_wchar()
read_wchar
in class InputStream
public void read_wchar_array(char[] dest, int off, int len)
read_wchar_array
in class InputStream
public float read_float()
read_float
in class InputStream
public void read_float_array(float[] dest, int off, int len)
read_float_array
in class InputStream
public double read_double()
read_double
in class InputStream
public void read_double_array(double[] dest, int off, int len)
read_double_array
in class InputStream
public java.lang.String read_string()
read_string
in class InputStream
public java.lang.String read_wstring()
read_wstring
in class InputStream
public Object read_Object()
read_Object
in class InputStream
public Object read_Object(java.lang.Class clz)
read_Object
in class InputStream
public TypeCode read_TypeCode()
read_TypeCode
in class InputStream
public Any read_any()
read_any
in class InputStream
public Context read_Context()
read_Context
in class InputStream
public Principal read_Principal()
read_Principal
in class InputStream
public java.math.BigDecimal read_fixed()
read_fixed
in class InputStream
public java.math.BigDecimal read_fixed(TypeCode type)
read_fixed
in interface ExtendedInputStream
public java.math.BigDecimal read_fixed(short digits, short scale)
read_fixed
in interface ExtendedInputStream
public java.io.Serializable read_value()
read_value
in class InputStream
public java.io.Serializable read_value(java.lang.String rep_id)
read_value
in class InputStream
public java.io.Serializable read_value(java.lang.Class clz)
read_value
in class InputStream
public java.io.Serializable read_value(BoxedValueHelper factory)
read_value
in class InputStream
public java.io.Serializable read_value(java.io.Serializable value)
read_value
in class InputStream
public java.lang.Object read_abstract_interface()
read_abstract_interface
in class InputStream
public java.lang.Object read_abstract_interface(java.lang.Class clz)
read_abstract_interface
in class InputStream
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |