public abstract class CDRInputStream extends InputStream implements MarshalInputStream, DataInputStream, ValueInputStream
Modifier and Type | Field and Description |
---|---|
protected CorbaMessageMediator |
messageMediator |
Constructor and Description |
---|
CDRInputStream() |
CDRInputStream(CDRInputStream is) |
CDRInputStream(ORB orb,
ByteBuffer byteBuffer,
int size,
boolean littleEndian,
GIOPVersion version,
byte encodingVersion,
BufferManagerRead bufMgr) |
Modifier and Type | Method and Description |
---|---|
String[] |
_truncatable_ids() |
void |
alignOnBoundary(int octetBoundary)
Aligns the current position on the given octet boundary if there are enough bytes available to do so.
|
int |
available() |
void |
close() |
void |
consumeEndian() |
protected CodeSetConversion.BTCConverter |
createCharBTCConverter() |
protected abstract CodeSetConversion.BTCConverter |
createWCharBTCConverter() |
abstract CDRInputStream |
dup() |
void |
end_value() |
int |
getBufferLength() |
BufferManagerRead |
getBufferManager() |
protected ByteBuffer |
getByteBuffer() |
CodeBase |
getCodeBase() |
GIOPVersion |
getGIOPVersion() |
protected int |
getIndex() |
MessageMediator |
getMessageMediator() |
int |
getPosition() |
boolean |
isLittleEndian() |
void |
mark(int readlimit) |
boolean |
markSupported() |
ORB |
orb() |
void |
orb(ORB orb) |
void |
performORBVersionSpecificInit()
This must be called after determining the proper ORB version, and setting it on the stream's ORB instance.
|
Object |
read_abstract_interface() |
Object |
read_abstract_interface(Class clz) |
Object |
read_Abstract() |
void |
read_any_array(AnySeqHolder seq,
int offset,
int length) |
Any |
read_any() |
void |
read_boolean_array(boolean[] value,
int offset,
int length) |
void |
read_boolean_array(BooleanSeqHolder seq,
int offset,
int length) |
boolean |
read_boolean() |
void |
read_char_array(char[] value,
int offset,
int length) |
void |
read_char_array(CharSeqHolder seq,
int offset,
int length) |
char |
read_char() |
Context |
read_Context() |
void |
read_double_array(double[] value,
int offset,
int length) |
void |
read_double_array(DoubleSeqHolder seq,
int offset,
int length) |
double |
read_double() |
BigDecimal |
read_fixed() |
BigDecimal |
read_fixed(short digits,
short scale) |
void |
read_float_array(float[] value,
int offset,
int length) |
void |
read_float_array(FloatSeqHolder seq,
int offset,
int length) |
float |
read_float() |
void |
read_long_array(int[] value,
int offset,
int length) |
void |
read_long_array(LongSeqHolder seq,
int offset,
int length) |
int |
read_long() |
double |
read_longdouble() |
void |
read_longlong_array(long[] value,
int offset,
int length) |
void |
read_longlong_array(LongLongSeqHolder seq,
int offset,
int length) |
long |
read_longlong() |
Object |
read_Object() |
Object |
read_Object(Class clz) |
void |
read_octet_array(byte[] value,
int offset,
int length) |
void |
read_octet_array(OctetSeqHolder seq,
int offset,
int length) |
byte |
read_octet() |
Principal |
read_Principal() |
void |
read_short_array(short[] value,
int offset,
int length) |
void |
read_short_array(ShortSeqHolder seq,
int offset,
int length) |
short |
read_short() |
String |
read_string() |
TypeCode |
read_TypeCode() |
void |
read_ulong_array(int[] value,
int offset,
int length) |
void |
read_ulong_array(ULongSeqHolder seq,
int offset,
int length) |
int |
read_ulong() |
void |
read_ulonglong_array(long[] value,
int offset,
int length) |
void |
read_ulonglong_array(ULongLongSeqHolder seq,
int offset,
int length) |
long |
read_ulonglong() |
void |
read_ushort_array(short[] value,
int offset,
int length) |
void |
read_ushort_array(UShortSeqHolder seq,
int offset,
int length) |
short |
read_ushort() |
Serializable |
read_value() |
Serializable |
read_Value() |
Serializable |
read_value(BoxedValueHelper factory) |
Serializable |
read_value(Class clz) |
Serializable |
read_value(Serializable value) |
Serializable |
read_value(String rep_id) |
void |
read_wchar_array(char[] value,
int offset,
int length) |
void |
read_wchar_array(WCharSeqHolder seq,
int offset,
int length) |
char |
read_wchar() |
String |
read_wstring() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
void |
resetCodeSetConverters()
Resets any internal references to code set converters.
|
protected void |
setBufferLength(int value) |
protected void |
setByteBuffer(ByteBuffer byteBuffer) |
protected void |
setByteBufferWithInfo(ByteBufferWithInfo bbwi) |
void |
setHeaderPadding(boolean headerPadding) |
protected void |
setIndex(int value) |
void |
setMessageMediator(MessageMediator messageMediator) |
long |
skip(long n) |
void |
start_value() |
protected CorbaMessageMediator messageMediator
public CDRInputStream()
public CDRInputStream(CDRInputStream is)
public CDRInputStream(ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, GIOPVersion version, byte encodingVersion, BufferManagerRead bufMgr)
public final boolean read_boolean()
read_boolean
in interface MarshalInputStream
read_boolean
in interface DataInputStream
read_boolean
in class InputStream
public final char read_char()
read_char
in interface MarshalInputStream
read_char
in interface DataInputStream
read_char
in class InputStream
public final char read_wchar()
read_wchar
in interface MarshalInputStream
read_wchar
in interface DataInputStream
read_wchar
in class InputStream
public final byte read_octet()
read_octet
in interface MarshalInputStream
read_octet
in interface DataInputStream
read_octet
in class InputStream
public final short read_short()
read_short
in interface MarshalInputStream
read_short
in interface DataInputStream
read_short
in class InputStream
public final short read_ushort()
read_ushort
in interface MarshalInputStream
read_ushort
in interface DataInputStream
read_ushort
in class InputStream
public final int read_long()
read_long
in interface MarshalInputStream
read_long
in interface DataInputStream
read_long
in class InputStream
public final int read_ulong()
read_ulong
in interface MarshalInputStream
read_ulong
in interface DataInputStream
read_ulong
in class InputStream
public double read_longdouble()
public final long read_longlong()
read_longlong
in interface MarshalInputStream
read_longlong
in interface DataInputStream
read_longlong
in class InputStream
public final long read_ulonglong()
read_ulonglong
in interface MarshalInputStream
read_ulonglong
in interface DataInputStream
read_ulonglong
in class InputStream
public final float read_float()
read_float
in interface MarshalInputStream
read_float
in interface DataInputStream
read_float
in class InputStream
public final double read_double()
read_double
in interface MarshalInputStream
read_double
in interface DataInputStream
read_double
in class InputStream
public final String read_string()
read_string
in interface MarshalInputStream
read_string
in interface DataInputStream
read_string
in class InputStream
public final String read_wstring()
read_wstring
in interface MarshalInputStream
read_wstring
in interface DataInputStream
read_wstring
in class InputStream
public final void read_boolean_array(boolean[] value, int offset, int length)
read_boolean_array
in interface MarshalInputStream
read_boolean_array
in class InputStream
public final void read_char_array(char[] value, int offset, int length)
read_char_array
in interface MarshalInputStream
read_char_array
in class InputStream
public final void read_wchar_array(char[] value, int offset, int length)
read_wchar_array
in interface MarshalInputStream
read_wchar_array
in class InputStream
public final void read_octet_array(byte[] value, int offset, int length)
read_octet_array
in interface MarshalInputStream
read_octet_array
in class InputStream
public final void read_short_array(short[] value, int offset, int length)
read_short_array
in interface MarshalInputStream
read_short_array
in class InputStream
public final void read_ushort_array(short[] value, int offset, int length)
read_ushort_array
in interface MarshalInputStream
read_ushort_array
in class InputStream
public final void read_long_array(int[] value, int offset, int length)
read_long_array
in interface MarshalInputStream
read_long_array
in class InputStream
public final void read_ulong_array(int[] value, int offset, int length)
read_ulong_array
in interface MarshalInputStream
read_ulong_array
in class InputStream
public final void read_longlong_array(long[] value, int offset, int length)
read_longlong_array
in interface MarshalInputStream
read_longlong_array
in class InputStream
public final void read_ulonglong_array(long[] value, int offset, int length)
read_ulonglong_array
in interface MarshalInputStream
read_ulonglong_array
in class InputStream
public final void read_float_array(float[] value, int offset, int length)
read_float_array
in interface MarshalInputStream
read_float_array
in class InputStream
public final void read_double_array(double[] value, int offset, int length)
read_double_array
in interface MarshalInputStream
read_double_array
in class InputStream
public final Object read_Object()
read_Object
in interface MarshalInputStream
read_Object
in interface DataInputStream
read_Object
in class InputStream
public final TypeCode read_TypeCode()
read_TypeCode
in interface MarshalInputStream
read_TypeCode
in interface DataInputStream
read_TypeCode
in class InputStream
public final Any read_any()
read_any
in interface MarshalInputStream
read_any
in interface DataInputStream
read_any
in class InputStream
public final Principal read_Principal()
read_Principal
in interface MarshalInputStream
read_Principal
in class InputStream
public final int read() throws IOException
read
in class InputStream
IOException
public final BigDecimal read_fixed()
read_fixed
in class InputStream
public final Context read_Context()
read_Context
in class InputStream
public final Object read_Object(Class clz)
read_Object
in interface MarshalInputStream
read_Object
in class InputStream
public final ORB orb()
orb
in class InputStream
public final Serializable read_value()
read_value
in interface MarshalInputStream
read_value
in class InputStream
public final Serializable read_value(Class clz)
read_value
in class InputStream
public final Serializable read_value(BoxedValueHelper factory)
read_value
in class InputStream
public final Serializable read_value(String rep_id)
read_value
in class InputStream
public final Serializable read_value(Serializable value)
read_value
in class InputStream
public final Object read_abstract_interface()
read_abstract_interface
in class InputStream
public final Object read_abstract_interface(Class clz)
read_abstract_interface
in class InputStream
public final void consumeEndian()
consumeEndian
in interface MarshalInputStream
public final int getPosition()
getPosition
in interface MarshalInputStream
public final Object read_Abstract()
read_Abstract
in interface DataInputStream
public final Serializable read_Value()
read_Value
in interface DataInputStream
public final void read_any_array(AnySeqHolder seq, int offset, int length)
read_any_array
in interface DataInputStream
public final void read_boolean_array(BooleanSeqHolder seq, int offset, int length)
read_boolean_array
in interface DataInputStream
public final void read_char_array(CharSeqHolder seq, int offset, int length)
read_char_array
in interface DataInputStream
public final void read_wchar_array(WCharSeqHolder seq, int offset, int length)
read_wchar_array
in interface DataInputStream
public final void read_octet_array(OctetSeqHolder seq, int offset, int length)
read_octet_array
in interface DataInputStream
public final void read_short_array(ShortSeqHolder seq, int offset, int length)
read_short_array
in interface DataInputStream
public final void read_ushort_array(UShortSeqHolder seq, int offset, int length)
read_ushort_array
in interface DataInputStream
public final void read_long_array(LongSeqHolder seq, int offset, int length)
read_long_array
in interface DataInputStream
public final void read_ulong_array(ULongSeqHolder seq, int offset, int length)
read_ulong_array
in interface DataInputStream
public final void read_ulonglong_array(ULongLongSeqHolder seq, int offset, int length)
read_ulonglong_array
in interface DataInputStream
public final void read_longlong_array(LongLongSeqHolder seq, int offset, int length)
read_longlong_array
in interface DataInputStream
public final void read_float_array(FloatSeqHolder seq, int offset, int length)
read_float_array
in interface DataInputStream
public final void read_double_array(DoubleSeqHolder seq, int offset, int length)
read_double_array
in interface DataInputStream
public final String[] _truncatable_ids()
_truncatable_ids
in interface ValueBase
public final int read(byte[] b) throws IOException
read
in class InputStream
IOException
public final int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public final long skip(long n) throws IOException
skip
in class InputStream
IOException
public final int available() throws IOException
available
in class InputStream
IOException
public final void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public final void mark(int readlimit)
mark
in interface MarshalInputStream
mark
in class InputStream
public final void reset()
reset
in interface MarshalInputStream
reset
in class InputStream
public final boolean markSupported()
markSupported
in class InputStream
public abstract CDRInputStream dup()
public final BigDecimal read_fixed(short digits, short scale)
public final boolean isLittleEndian()
protected final ByteBuffer getByteBuffer()
protected final void setByteBuffer(ByteBuffer byteBuffer)
protected final void setByteBufferWithInfo(ByteBufferWithInfo bbwi)
public final int getBufferLength()
protected final void setBufferLength(int value)
protected final int getIndex()
protected final void setIndex(int value)
public final void orb(ORB orb)
public final GIOPVersion getGIOPVersion()
public final BufferManagerRead getBufferManager()
public CodeBase getCodeBase()
protected CodeSetConversion.BTCConverter createCharBTCConverter()
protected abstract CodeSetConversion.BTCConverter createWCharBTCConverter()
public void alignOnBoundary(int octetBoundary)
public void setHeaderPadding(boolean headerPadding)
public void performORBVersionSpecificInit()
performORBVersionSpecificInit
in interface MarshalInputStream
public void resetCodeSetConverters()
resetCodeSetConverters
in interface MarshalInputStream
public void setMessageMediator(MessageMediator messageMediator)
public MessageMediator getMessageMediator()
public void start_value()
start_value
in interface ValueInputStream
public void end_value()
end_value
in interface ValueInputStream
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.