public class WrapperInputStream extends InputStream implements TypeCodeReader
| Constructor and Description |
|---|
WrapperInputStream(CDRInputStream s) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTypeCodeAtPosition(TypeCodeImpl tc,
int position) |
int |
available() |
void |
close() |
void |
consumeEndian() |
int |
getPosition() |
int |
getTopLevelPosition() |
TypeCodeReader |
getTopLevelStream() |
TypeCodeImpl |
getTypeCodeAtPosition(int position) |
void |
mark(int readlimit) |
boolean |
markSupported() |
ORB |
orb()
Returns the ORB that created this InputStream.
|
void |
performORBVersionSpecificInit()
This must be called once before unmarshaling valuetypes or anything
that uses repository IDs.
|
void |
printTypeMap() |
Any |
read_any()
Reads an Any from this input stream.
|
void |
read_boolean_array(boolean[] value,
int offset,
int length)
Reads an array of booleans from this input stream.
|
boolean |
read_boolean()
Reads a boolean value from this input stream.
|
void |
read_char_array(char[] value,
int offset,
int length)
Reads an array of chars from this input stream.
|
char |
read_char()
Reads a char value from this input stream.
|
Context |
read_Context()
Reads a CORBA context from the stream.
|
void |
read_double_array(double[] value,
int offset,
int length)
Reads an array of doubles from this input stream.
|
double |
read_double()
Reads a double value from this input stream.
|
BigDecimal |
read_fixed()
Reads a BigDecimal number.
|
void |
read_float_array(float[] value,
int offset,
int length)
Reads an array of floats from this input stream.
|
float |
read_float()
Reads a float value from this input stream.
|
void |
read_long_array(int[] value,
int offset,
int length)
Reads an array of CORBA longs (that is, Java ints) from this input stream.
|
int |
read_long()
Reads a CORBA long (that is, Java int) value from this input stream.
|
void |
read_longlong_array(long[] value,
int offset,
int length)
Reads an array of CORBA longlongs (that is, Java longs) from this input
stream.
|
long |
read_longlong()
Reads a CORBA longlong (that is, Java long) value from this input stream.
|
Object |
read_Object()
Reads a CORBA object from this input stream.
|
void |
read_octet_array(byte[] value,
int offset,
int length)
Reads an array of octets (that is, bytes) from this input stream.
|
byte |
read_octet()
Reads an octet (that is, a byte) value from this input stream.
|
Principal |
read_Principal()
Returns principal for invocation.
|
void |
read_short_array(short[] value,
int offset,
int length)
Reads an array of shorts from this input stream.
|
short |
read_short()
Reads a short value from this input stream.
|
String |
read_string()
Reads a string value from this input stream.
|
TypeCode |
read_TypeCode()
Reads a
TypeCode from this input stream. |
void |
read_ulong_array(int[] value,
int offset,
int length)
Reads an array of unsigned CORBA longs (that is, Java ints) from this input
stream.
|
int |
read_ulong()
Reads an unsigned CORBA long (that is, Java int) value from this input
stream.
|
void |
read_ulonglong_array(long[] value,
int offset,
int length)
Reads an array of unsigned CORBA longlongs (that is, Java longs) from this
input stream.
|
long |
read_ulonglong()
Reads a CORBA unsigned longlong (that is, Java long) value from this input
stream.
|
void |
read_ushort_array(short[] value,
int offset,
int length)
Reads an array of unsigned shorts from this input stream.
|
short |
read_ushort()
Reads a unsigned short value from this input stream.
|
Serializable |
read_value()
Unmarshalls a value type from the input stream.
|
void |
read_wchar_array(char[] value,
int offset,
int length)
Reads an array of wide chars from this input stream.
|
char |
read_wchar()
Reads a wide char value from this input stream.
|
String |
read_wstring()
Reads a wide string value from this input stream.
|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
void |
resetCodeSetConverters()
Tells the input stream to null any code set converter
references, forcing it to reacquire them if it needs
converters again.
|
void |
setEnclosingInputStream(InputStream enclosure) |
long |
skip(long n) |
read_abstract_interface, read_abstract_interface, read_value, read_value, read_value, read_valueread_Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread_Objectpublic WrapperInputStream(CDRInputStream s)
public int read()
throws IOException
read in class InputStreamIOExceptionportable
package comments for unimplemented featurespublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in interface MarshalInputStreammark in class InputStreampublic void reset()
reset in interface MarshalInputStreamreset in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic int getPosition()
getPosition in interface MarshalInputStreamgetPosition in interface TypeCodeReaderpublic void consumeEndian()
consumeEndian in interface MarshalInputStreampublic boolean read_boolean()
InputStreamread_boolean in interface MarshalInputStreamread_boolean in class InputStreamboolean value read from this input streampublic char read_char()
InputStreamread_char in interface MarshalInputStreamread_char in class InputStreamchar value read from this input streampublic char read_wchar()
InputStreamread_wchar in interface MarshalInputStreamread_wchar in class InputStreamchar value read from this input streampublic byte read_octet()
InputStreamread_octet in interface MarshalInputStreamread_octet in class InputStreambyte value read from this input streampublic short read_short()
InputStreamread_short in interface MarshalInputStreamread_short in class InputStreamshort value read from this input streampublic short read_ushort()
InputStreamread_ushort in interface MarshalInputStreamread_ushort in class InputStreamshort value read from this input streampublic int read_long()
InputStreamread_long in interface MarshalInputStreamread_long in class InputStreamint value read from this input streampublic int read_ulong()
InputStreamread_ulong in interface MarshalInputStreamread_ulong in class InputStreamint value read from this input streampublic long read_longlong()
InputStreamread_longlong in interface MarshalInputStreamread_longlong in class InputStreamlong value read from this input streampublic long read_ulonglong()
InputStreamread_ulonglong in interface MarshalInputStreamread_ulonglong in class InputStreamlong value read from this input streampublic float read_float()
InputStreamread_float in interface MarshalInputStreamread_float in class InputStreamfloat value read from this input streampublic double read_double()
InputStreamread_double in interface MarshalInputStreamread_double in class InputStreamdouble value read from this input streampublic String read_string()
InputStreamread_string in interface MarshalInputStreamread_string in class InputStreamString value read from this input streampublic String read_wstring()
InputStreamread_wstring in interface MarshalInputStreamread_wstring in class InputStreamString value read from this input streampublic void read_boolean_array(boolean[] value,
int offset,
int length)
InputStreamread_boolean_array in interface MarshalInputStreamread_boolean_array in class InputStreamvalue - returned array of booleans.offset - offset on the stream.length - length of buffer to read.public void read_char_array(char[] value,
int offset,
int length)
InputStreamread_char_array in interface MarshalInputStreamread_char_array in class InputStreamvalue - returned array of chars.offset - offset on the stream.length - length of buffer to read.public void read_wchar_array(char[] value,
int offset,
int length)
InputStreamread_wchar_array in interface MarshalInputStreamread_wchar_array in class InputStreamvalue - returned array of wide chars.offset - offset on the stream.length - length of buffer to read.public void read_octet_array(byte[] value,
int offset,
int length)
InputStreamread_octet_array in interface MarshalInputStreamread_octet_array in class InputStreamvalue - returned array of octets (that is, bytes).offset - offset on the stream.length - length of buffer to read.public void read_short_array(short[] value,
int offset,
int length)
InputStreamread_short_array in interface MarshalInputStreamread_short_array in class InputStreamvalue - returned array of shorts.offset - offset on the stream.length - length of buffer to read.public void read_ushort_array(short[] value,
int offset,
int length)
InputStreamread_ushort_array in interface MarshalInputStreamread_ushort_array in class InputStreamvalue - returned array of shorts.offset - offset on the stream.length - length of buffer to read.public void read_long_array(int[] value,
int offset,
int length)
InputStreamread_long_array in interface MarshalInputStreamread_long_array in class InputStreamvalue - returned array of CORBA longs (that is, Java ints).offset - offset on the stream.length - length of buffer to read.public void read_ulong_array(int[] value,
int offset,
int length)
InputStreamread_ulong_array in interface MarshalInputStreamread_ulong_array in class InputStreamvalue - returned array of CORBA longs (that is, Java ints).offset - offset on the stream.length - length of buffer to read.public void read_longlong_array(long[] value,
int offset,
int length)
InputStreamread_longlong_array in interface MarshalInputStreamread_longlong_array in class InputStreamvalue - returned array of CORBA longs (that is, Java longs).offset - offset on the stream.length - length of buffer to read.public void read_ulonglong_array(long[] value,
int offset,
int length)
InputStreamread_ulonglong_array in interface MarshalInputStreamread_ulonglong_array in class InputStreamvalue - returned array of CORBA longs (that is, Java longs).offset - offset on the stream.length - length of buffer to read.public void read_float_array(float[] value,
int offset,
int length)
InputStreamread_float_array in interface MarshalInputStreamread_float_array in class InputStreamvalue - returned array of floats.offset - offset on the stream.length - length of buffer to read.public void read_double_array(double[] value,
int offset,
int length)
InputStreamread_double_array in interface MarshalInputStreamread_double_array in class InputStreamvalue - returned array of doubles.offset - offset on the stream.length - length of buffer to read.public Object read_Object()
InputStreamread_Object in interface MarshalInputStreamread_Object in class InputStreamObject instance read from this input stream.public Serializable read_value()
InputStreamread_value in interface MarshalInputStreamread_value in class InputStreampublic TypeCode read_TypeCode()
InputStreamTypeCode from this input stream.read_TypeCode in interface MarshalInputStreamread_TypeCode in class InputStreamTypeCode instance read from this input stream.public Any read_any()
InputStreamread_any in interface MarshalInputStreamread_any in class InputStreamAny instance read from this input stream.public Principal read_Principal()
InputStreamread_Principal in interface MarshalInputStreamread_Principal in class InputStreampublic BigDecimal read_fixed()
InputStreamread_fixed in class InputStreampublic Context read_Context()
InputStreamread_Context in class InputStreamportable
package comments for unimplemented featurespublic ORB orb()
InputStreamorb in class InputStreamORB object that created this streamportable
package comments for unimplemented featurespublic void addTypeCodeAtPosition(TypeCodeImpl tc, int position)
addTypeCodeAtPosition in interface TypeCodeReaderpublic TypeCodeImpl getTypeCodeAtPosition(int position)
getTypeCodeAtPosition in interface TypeCodeReaderpublic void setEnclosingInputStream(InputStream enclosure)
setEnclosingInputStream in interface TypeCodeReaderpublic TypeCodeReader getTopLevelStream()
getTopLevelStream in interface TypeCodeReaderpublic int getTopLevelPosition()
getTopLevelPosition in interface TypeCodeReaderpublic void performORBVersionSpecificInit()
MarshalInputStreamperformORBVersionSpecificInit in interface MarshalInputStreampublic void resetCodeSetConverters()
MarshalInputStreamresetCodeSetConverters in interface MarshalInputStreampublic void printTypeMap()
printTypeMap in interface TypeCodeReaderCopyright © 2018 JBoss by Red Hat. All rights reserved.