Package com.sun.corba.se.impl.io
Class InputStreamHook
java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
com.sun.corba.se.impl.io.InputStreamHook
- All Implemented Interfaces:
Closeable,DataInput,ObjectInput,ObjectStreamConstants,AutoCloseable
- Direct Known Subclasses:
IIOPInputStream
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static classprotected static classprotected static classprotected static classprotected static classprotected static classprotected static classNested classes/interfaces inherited from class java.io.ObjectInputStream
ObjectInputStream.GetField -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final InputStreamHook.ReadObjectStateprotected static final InputStreamHook.ReadObjectStateprotected static final InputStreamHook.ReadObjectStateprotected static final InputStreamHook.ReadObjectStateprotected static final InputStreamHook.ReadObjectStateprotected static final InputStreamHook.ReadObjectStateprotected static final InputStreamHook.ReadObjectStateprotected InputStreamHook.ReadObjectStateFields inherited from interface java.io.ObjectStreamConstants
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, SERIAL_FILTER_PERMISSION, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected abstract byteprotected voidsetState(InputStreamHook.ReadObjectState newState) protected voidMethods inherited from class java.io.ObjectInputStream
available, close, enableResolveObject, getObjectInputFilter, read, read, readBoolean, readByte, readChar, readClassDescriptor, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readObject, readObjectOverride, readShort, readStreamHeader, readUnshared, readUnsignedByte, readUnsignedShort, readUTF, registerValidation, resolveClass, resolveObject, resolveProxyClass, setObjectInputFilter, skipBytesMethods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.io.ObjectInput
read, skip
-
Field Details
-
readObjectState
-
DEFAULT_STATE
-
IN_READ_OBJECT_OPT_DATA
-
IN_READ_OBJECT_NO_MORE_OPT_DATA
-
IN_READ_OBJECT_DEFAULTS_SENT
-
NO_READ_OBJECT_DEFAULTS_SENT
-
IN_READ_OBJECT_REMOTE_NOT_CUSTOM_MARSHALED
-
IN_READ_OBJECT_PAST_DEFAULTS_REMOTE_NOT_CUSTOM
protected static final InputStreamHook.ReadObjectState IN_READ_OBJECT_PAST_DEFAULTS_REMOTE_NOT_CUSTOM
-
-
Constructor Details
-
InputStreamHook
- Throws:
IOException
-
-
Method Details
-
defaultReadObject
- Overrides:
defaultReadObjectin classObjectInputStream- Throws:
IOExceptionClassNotFoundExceptionNotActiveException
-
readFields
public ObjectInputStream.GetField readFields() throws IOException, ClassNotFoundException, NotActiveException- Overrides:
readFieldsin classObjectInputStream- Throws:
IOExceptionClassNotFoundExceptionNotActiveException
-
setState
-
getStreamFormatVersion
protected abstract byte getStreamFormatVersion() -
throwOptionalDataIncompatibleException
protected void throwOptionalDataIncompatibleException()
-