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_value
read_Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read_Object
public WrapperInputStream(CDRInputStream s)
public int read() throws IOException
read
in class InputStream
IOException
portable
package comments for unimplemented featurespublic int read(byte[] b) throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public void mark(int readlimit)
mark
in interface MarshalInputStream
mark
in class InputStream
public void reset()
reset
in interface MarshalInputStream
reset
in class InputStream
public boolean markSupported()
markSupported
in class InputStream
public int getPosition()
getPosition
in interface MarshalInputStream
getPosition
in interface TypeCodeReader
public void consumeEndian()
consumeEndian
in interface MarshalInputStream
public boolean read_boolean()
InputStream
read_boolean
in interface MarshalInputStream
read_boolean
in class InputStream
boolean
value read from this input streampublic char read_char()
InputStream
read_char
in interface MarshalInputStream
read_char
in class InputStream
char
value read from this input streampublic char read_wchar()
InputStream
read_wchar
in interface MarshalInputStream
read_wchar
in class InputStream
char
value read from this input streampublic byte read_octet()
InputStream
read_octet
in interface MarshalInputStream
read_octet
in class InputStream
byte
value read from this input streampublic short read_short()
InputStream
read_short
in interface MarshalInputStream
read_short
in class InputStream
short
value read from this input streampublic short read_ushort()
InputStream
read_ushort
in interface MarshalInputStream
read_ushort
in class InputStream
short
value read from this input streampublic int read_long()
InputStream
read_long
in interface MarshalInputStream
read_long
in class InputStream
int
value read from this input streampublic int read_ulong()
InputStream
read_ulong
in interface MarshalInputStream
read_ulong
in class InputStream
int
value read from this input streampublic long read_longlong()
InputStream
read_longlong
in interface MarshalInputStream
read_longlong
in class InputStream
long
value read from this input streampublic long read_ulonglong()
InputStream
read_ulonglong
in interface MarshalInputStream
read_ulonglong
in class InputStream
long
value read from this input streampublic float read_float()
InputStream
read_float
in interface MarshalInputStream
read_float
in class InputStream
float
value read from this input streampublic double read_double()
InputStream
read_double
in interface MarshalInputStream
read_double
in class InputStream
double
value read from this input streampublic String read_string()
InputStream
read_string
in interface MarshalInputStream
read_string
in class InputStream
String
value read from this input streampublic String read_wstring()
InputStream
read_wstring
in interface MarshalInputStream
read_wstring
in class InputStream
String
value read from this input streampublic void read_boolean_array(boolean[] value, int offset, int length)
InputStream
read_boolean_array
in interface MarshalInputStream
read_boolean_array
in class InputStream
value
- 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)
InputStream
read_char_array
in interface MarshalInputStream
read_char_array
in class InputStream
value
- 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)
InputStream
read_wchar_array
in interface MarshalInputStream
read_wchar_array
in class InputStream
value
- 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)
InputStream
read_octet_array
in interface MarshalInputStream
read_octet_array
in class InputStream
value
- 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)
InputStream
read_short_array
in interface MarshalInputStream
read_short_array
in class InputStream
value
- 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)
InputStream
read_ushort_array
in interface MarshalInputStream
read_ushort_array
in class InputStream
value
- 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)
InputStream
read_long_array
in interface MarshalInputStream
read_long_array
in class InputStream
value
- 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)
InputStream
read_ulong_array
in interface MarshalInputStream
read_ulong_array
in class InputStream
value
- 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)
InputStream
read_longlong_array
in interface MarshalInputStream
read_longlong_array
in class InputStream
value
- 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)
InputStream
read_ulonglong_array
in interface MarshalInputStream
read_ulonglong_array
in class InputStream
value
- 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)
InputStream
read_float_array
in interface MarshalInputStream
read_float_array
in class InputStream
value
- 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)
InputStream
read_double_array
in interface MarshalInputStream
read_double_array
in class InputStream
value
- returned array of doubles.offset
- offset on the stream.length
- length of buffer to read.public Object read_Object()
InputStream
read_Object
in interface MarshalInputStream
read_Object
in class InputStream
Object
instance read from this input stream.public Serializable read_value()
InputStream
read_value
in interface MarshalInputStream
read_value
in class InputStream
public TypeCode read_TypeCode()
InputStream
TypeCode
from this input stream.read_TypeCode
in interface MarshalInputStream
read_TypeCode
in class InputStream
TypeCode
instance read from this input stream.public Any read_any()
InputStream
read_any
in interface MarshalInputStream
read_any
in class InputStream
Any
instance read from this input stream.public Principal read_Principal()
InputStream
read_Principal
in interface MarshalInputStream
read_Principal
in class InputStream
public BigDecimal read_fixed()
InputStream
read_fixed
in class InputStream
public Context read_Context()
InputStream
read_Context
in class InputStream
portable
package comments for unimplemented featurespublic ORB orb()
InputStream
orb
in class InputStream
ORB
object that created this streamportable
package comments for unimplemented featurespublic void addTypeCodeAtPosition(TypeCodeImpl tc, int position)
addTypeCodeAtPosition
in interface TypeCodeReader
public TypeCodeImpl getTypeCodeAtPosition(int position)
getTypeCodeAtPosition
in interface TypeCodeReader
public void setEnclosingInputStream(InputStream enclosure)
setEnclosingInputStream
in interface TypeCodeReader
public TypeCodeReader getTopLevelStream()
getTopLevelStream
in interface TypeCodeReader
public int getTopLevelPosition()
getTopLevelPosition
in interface TypeCodeReader
public void performORBVersionSpecificInit()
MarshalInputStream
performORBVersionSpecificInit
in interface MarshalInputStream
public void resetCodeSetConverters()
MarshalInputStream
resetCodeSetConverters
in interface MarshalInputStream
public void printTypeMap()
printTypeMap
in interface TypeCodeReader
Copyright © 2021 JBoss by Red Hat. All rights reserved.