Package com.sun.corba.se.impl.encoding
Class CDRInputStream_1_0
java.lang.Object
java.io.InputStream
com.sun.corba.se.impl.encoding.CDRInputStream_1_0
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
CDRInputStream_1_1
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteBufferWithInfoprotected intprotected BufferManagerReadprotected intprotected booleanprotected booleanprotected com.sun.corba.se.impl.encoding.MarkAndResetHandlerprotected OMGSystemExceptionprotected ORBprotected CDRInputStreamprotected intprotected ValueHandlerprotected intprotected ORBUtilSystemException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]protected voidalignAndCheck(int align, int n) protected voidcheckBlockLength(int align, int dataSize) protected final voidcheckForNegativeLength(int length) voidclose()protected final intcomputeAlignment(int index, int align) final voidprotected voidprotected voidcom.sun.corba.se.impl.encoding.CDRInputStreamBasedup()voidprotected intintprotected CodeSetConversion.BTCConverterintgetIndex()intintgetSize()protected CodeSetConversion.BTCConverterprotected voidgrow(int align, int n) voidinit(ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, BufferManagerRead bufferManager) NOTE: size passed to init means buffer sizestatic ObjectinternalIORToObject(IOR ior, PresentationManager.StubFactory stubFactory, ORB orb) booleanvoidmark(int readlimit) booleanorb()voidvoidstatic voidintread()read_any()final voidread_any_array(Any[] value, int offset, int length) voidread_any_array(AnySeqHolder seq, int offset, int length) final booleanfinal voidread_boolean_array(boolean[] value, int offset, int length) voidread_boolean_array(BooleanSeqHolder seq, int offset, int length) final charfinal voidread_char_array(char[] value, int offset, int length) voidread_char_array(CharSeqHolder seq, int offset, int length) final doublefinal voidread_double_array(double[] value, int offset, int length) voidread_double_array(DoubleSeqHolder seq, int offset, int length) read_fixed(short digits, short scale) final floatfinal voidread_float_array(float[] value, int offset, int length) voidread_float_array(FloatSeqHolder seq, int offset, int length) final intfinal voidread_long_array(int[] value, int offset, int length) voidread_long_array(LongSeqHolder seq, int offset, int length) final doublefinal longfinal voidread_longlong_array(long[] value, int offset, int length) voidread_longlong_array(LongLongSeqHolder seq, int offset, int length) read_Object(Class clz) final bytefinal voidread_octet_array(byte[] b, int offset, int length) voidread_octet_array(OctetSeqHolder seq, int offset, int length) final shortfinal voidread_short_array(short[] value, int offset, int length) voidread_short_array(ShortSeqHolder seq, int offset, int length) final Stringfinal intfinal voidread_ulong_array(int[] value, int offset, int length) voidread_ulong_array(ULongSeqHolder seq, int offset, int length) final longfinal voidread_ulonglong_array(long[] value, int offset, int length) voidread_ulonglong_array(ULongLongSeqHolder seq, int offset, int length) final shortfinal voidread_ushort_array(short[] value, int offset, int length) voidread_ushort_array(UShortSeqHolder seq, int offset, int length) read_value(Serializable value) read_value(Class expectedType) read_value(String repositoryId) read_value(BoxedValueHelper factory) charfinal voidread_wchar_array(char[] value, int offset, int length) voidread_wchar_array(WCharSeqHolder seq, int offset, int length) protected final StringreadStringOrIndirection(boolean allowIndirection) voidreset()voidvoidrestoreInternalState(Object streamMemento) voidsetBufferLength(int value) voidsetByteBuffer(ByteBuffer byteBuffer) voidvoidsetIndex(int value) voidsetParent(CDRInputStream parent) voidMethods inherited from class java.io.InputStream
available, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, skip, skipNBytes, transferTo
-
Field Details
-
bufferManagerRead
-
bbwi
-
littleEndian
protected boolean littleEndian -
orb
-
wrapper
-
omgWrapper
-
valueHandler
-
blockLength
protected int blockLength -
end_flag
protected int end_flag -
valueIndirection
protected int valueIndirection -
stringIndirection
protected int stringIndirection -
isChunked
protected boolean isChunked -
markAndResetHandler
protected com.sun.corba.se.impl.encoding.MarkAndResetHandler markAndResetHandler -
parent
-
-
Constructor Details
-
CDRInputStream_1_0
public CDRInputStream_1_0()
-
-
Method Details
-
dup
public com.sun.corba.se.impl.encoding.CDRInputStreamBase dup() -
init
public void init(ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, BufferManagerRead bufferManager) NOTE: size passed to init means buffer size -
getGIOPVersion
-
computeAlignment
protected final int computeAlignment(int index, int align) -
getSize
public int getSize() -
checkBlockLength
protected void checkBlockLength(int align, int dataSize) -
alignAndCheck
protected void alignAndCheck(int align, int n) -
grow
protected void grow(int align, int n) -
consumeEndian
public final void consumeEndian() -
read_longdouble
public final double read_longdouble() -
read_boolean
public final boolean read_boolean() -
read_char
public final char read_char() -
read_wchar
public char read_wchar() -
read_octet
public final byte read_octet() -
read_short
public final short read_short() -
read_ushort
public final short read_ushort() -
read_long
public final int read_long() -
read_ulong
public final int read_ulong() -
read_longlong
public final long read_longlong() -
read_ulonglong
public final long read_ulonglong() -
read_float
public final float read_float() -
read_double
public final double read_double() -
checkForNegativeLength
protected final void checkForNegativeLength(int length) -
readStringOrIndirection
-
read_string
-
read_wstring
-
read_octet_array
public final void read_octet_array(byte[] b, int offset, int length) -
read_Principal
-
read_TypeCode
-
read_any
-
read_Object
-
read_Object
-
internalIORToObject
public static Object internalIORToObject(IOR ior, PresentationManager.StubFactory stubFactory, ORB orb) -
read_abstract_interface
-
read_abstract_interface
-
read_value
-
read_value
-
read_value
-
read_value
-
read_value
-
get_offset
protected int get_offset() -
orb
-
read_boolean_array
public final void read_boolean_array(boolean[] value, int offset, int length) -
read_char_array
public final void read_char_array(char[] value, int offset, int length) -
read_wchar_array
public final void read_wchar_array(char[] value, int offset, int length) -
read_short_array
public final void read_short_array(short[] value, int offset, int length) -
read_ushort_array
public final void read_ushort_array(short[] value, int offset, int length) -
read_long_array
public final void read_long_array(int[] value, int offset, int length) -
read_ulong_array
public final void read_ulong_array(int[] value, int offset, int length) -
read_longlong_array
public final void read_longlong_array(long[] value, int offset, int length) -
read_ulonglong_array
public final void read_ulonglong_array(long[] value, int offset, int length) -
read_float_array
public final void read_float_array(float[] value, int offset, int length) -
read_double_array
public final void read_double_array(double[] value, int offset, int length) -
read_any_array
-
read_Abstract
-
read_Value
-
read_any_array
-
read_boolean_array
-
read_char_array
-
read_wchar_array
-
read_octet_array
-
read_short_array
-
read_ushort_array
-
read_long_array
-
read_ulong_array
-
read_ulonglong_array
-
read_longlong_array
-
read_float_array
-
read_double_array
-
read_fixed
-
read_fixed
-
_truncatable_ids
-
printBuffer
public void printBuffer() -
printBuffer
-
getByteBuffer
-
getBufferLength
public int getBufferLength() -
setBufferLength
public void setBufferLength(int value) -
setByteBufferWithInfo
-
setByteBuffer
-
getIndex
public int getIndex() -
setIndex
public void setIndex(int value) -
isLittleEndian
public boolean isLittleEndian() -
orb
-
getBufferManager
-
createStreamMemento
-
restoreInternalState
-
getPosition
public int getPosition() -
mark
public void mark(int readlimit) -
reset
public void reset() -
getCharConverter
-
getWCharConverter
-
dprintThrowable
-
dprint
-
resetCodeSetConverters
public void resetCodeSetConverters() -
start_value
public void start_value() -
end_value
public void end_value() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
setParent
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read_Context
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-