Class CDRInputStream_1_0
java.lang.Object
java.io.InputStream
com.sun.corba.ee.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 intprotected BufferManagerReadprotected ByteBufferprotected intprotected booleanprotected com.sun.corba.ee.impl.encoding.MarkAndResetHandlerprotected ORBprotected CDRInputObjectprotected intprotected ValueHandlerprotected intprotected static final 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 voidcom.sun.corba.ee.impl.encoding.CDRInputStreamBasedup()voidprotected intintprotected CodeSetConversion.BTCConverterintprotected CodeSetConversion.BTCConverterprotected voidgrow(int align, int n) static ObjectinternalIORToObject(IOR ior, PresentationManager.StubFactory stubFactory, ORB orb) voidmark(int readlimit) booleanorb()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 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[] buffer, 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) voidsetIndex(int value) voidsetParent(CDRInputObject parent) voidMethods inherited from class InputStream
available, read, read, skip
-
Field Details
-
wrapper
-
bufferManagerRead
-
byteBuffer
-
orb
-
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.ee.impl.encoding.MarkAndResetHandler markAndResetHandler -
parent
-
-
Constructor Details
-
CDRInputStream_1_0
public CDRInputStream_1_0()
-
-
Method Details
-
dup
public com.sun.corba.ee.impl.encoding.CDRInputStreamBase dup() -
getGIOPVersion
-
computeAlignment
protected final int computeAlignment(int index, int align) -
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_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[] buffer, 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
-
getBufferLength
public int getBufferLength() -
setBufferLength
public void setBufferLength(int value) -
setIndex
public void setIndex(int value) -
getByteOrder
-
orb
-
getBufferManager
-
createStreamMemento
-
restoreInternalState
-
getPosition
public int getPosition() -
mark
public void mark(int readlimit) -
reset
public void reset() -
getCharConverter
-
getWCharConverter
-
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
-