Package com.sun.corba.se.impl.encoding
Class TypeCodeInputStream
java.lang.Object
java.io.InputStream
org.omg.CORBA.portable.InputStream
org.omg.CORBA_2_3.portable.InputStream
com.sun.corba.se.impl.encoding.CDRInputStream
com.sun.corba.se.impl.encoding.EncapsInputStream
com.sun.corba.se.impl.encoding.TypeCodeInputStream
- All Implemented Interfaces:
MarshalInputStream,TypeCodeReader,Closeable,Serializable,AutoCloseable,DataInputStream,IDLEntity,ValueBase,ValueInputStream
- See Also:
-
Field Summary
Fields inherited from class com.sun.corba.se.impl.encoding.CDRInputStream
messageMediator -
Constructor Summary
ConstructorsConstructorDescriptionTypeCodeInputStream(ORB orb, byte[] data, int size) TypeCodeInputStream(ORB orb, byte[] data, int size, boolean littleEndian, GIOPVersion version) TypeCodeInputStream(ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, GIOPVersion version) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTypeCodeAtPosition(TypeCodeImpl tc, int position) intgetTypeCodeAtPosition(int position) protected voidvoidstatic TypeCodeInputStreamreadEncapsulation(InputStream is, ORB _orb) voidsetEnclosingInputStream(InputStream enclosure) Methods inherited from class com.sun.corba.se.impl.encoding.EncapsInputStream
createCharBTCConverter, createWCharBTCConverter, dup, getCodeBaseMethods inherited from class com.sun.corba.se.impl.encoding.CDRInputStream
_truncatable_ids, alignOnBoundary, available, close, consumeEndian, end_value, getBufferLength, getBufferManager, getByteBuffer, getGIOPVersion, getIndex, getMessageMediator, getPosition, isLittleEndian, isSharing, mark, markSupported, orb, orb, performORBVersionSpecificInit, read, read, read, read_Abstract, read_abstract_interface, read_abstract_interface, read_any, read_any_array, read_boolean, read_boolean_array, read_boolean_array, read_char, read_char_array, read_char_array, read_Context, read_double, read_double_array, read_double_array, read_fixed, read_fixed, read_float, read_float_array, read_float_array, read_long, read_long_array, read_long_array, read_longlong, read_longlong_array, read_longlong_array, read_Object, read_Object, read_octet, read_octet_array, read_octet_array, read_Principal, read_short, read_short_array, read_short_array, read_string, read_TypeCode, read_ulong, read_ulong_array, read_ulong_array, read_ulonglong, read_ulonglong_array, read_ulonglong_array, read_ushort, read_ushort_array, read_ushort_array, read_value, read_value, read_value, read_value, read_value, read_Value, read_wchar, read_wchar_array, read_wchar_array, read_wstring, reset, resetCodeSetConverters, setBufferLength, setByteBuffer, setByteBufferWithInfo, setHeaderPadding, setIndex, setMessageMediator, skip, start_valueMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.corba.se.impl.encoding.MarshalInputStream
consumeEndian, mark, performORBVersionSpecificInit, read_any, read_boolean, read_boolean_array, read_char, read_char_array, read_double, read_double_array, read_float, read_float_array, read_long, read_long_array, read_longlong, read_longlong_array, read_Object, read_Object, read_octet, read_octet_array, read_Principal, read_short, read_short_array, read_string, read_TypeCode, read_ulong, read_ulong_array, read_ulonglong, read_ulonglong_array, read_ushort, read_ushort_array, read_value, read_wchar, read_wchar_array, read_wstring, reset, resetCodeSetConvertersMethods inherited from interface com.sun.corba.se.impl.encoding.TypeCodeReader
getPosition
-
Constructor Details
-
TypeCodeInputStream
-
TypeCodeInputStream
public TypeCodeInputStream(ORB orb, byte[] data, int size, boolean littleEndian, GIOPVersion version) -
TypeCodeInputStream
public TypeCodeInputStream(ORB orb, ByteBuffer byteBuffer, int size, boolean littleEndian, GIOPVersion version)
-
-
Method Details
-
addTypeCodeAtPosition
- Specified by:
addTypeCodeAtPositionin interfaceTypeCodeReader
-
getTypeCodeAtPosition
- Specified by:
getTypeCodeAtPositionin interfaceTypeCodeReader
-
setEnclosingInputStream
- Specified by:
setEnclosingInputStreamin interfaceTypeCodeReader
-
getTopLevelStream
- Specified by:
getTopLevelStreamin interfaceTypeCodeReader
-
getTopLevelPosition
public int getTopLevelPosition()- Specified by:
getTopLevelPositionin interfaceTypeCodeReader
-
readEncapsulation
-
makeEncapsulation
protected void makeEncapsulation() -
printTypeMap
public void printTypeMap()- Specified by:
printTypeMapin interfaceTypeCodeReader
-