Package com.sun.corba.ee.impl.io
Class InputStreamHook
java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
com.sun.corba.ee.impl.io.InputStreamHook
- All Implemented Interfaces:
Closeable
,DataInput
,ObjectInput
,ObjectStreamConstants
,AutoCloseable
- Direct Known Subclasses:
IIOPInputStream
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
private class
protected static class
protected static class
protected static class
protected static class
protected static class
protected static class
protected static class
Nested classes/interfaces inherited from class java.io.ObjectInputStream
ObjectInputStream.GetField
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final InputStreamHook.ReadObjectState
protected static final InputStreamHook.ReadObjectState
protected static final InputStreamHook.ReadObjectState
protected static final InputStreamHook.ReadObjectState
protected static final InputStreamHook.ReadObjectState
protected static final InputStreamHook.ReadObjectState
protected static final InputStreamHook.ReadObjectState
(package private) static final OMGSystemException
protected InputStreamHook.ReadObjectState
(package private) static final UtilSystemException
Fields 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, 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 TypeMethodDescriptionvoid
(package private) abstract void
(package private) abstract InputStream
protected abstract byte
(package private) abstract void
readFields
(Map<String, Object> fieldToValueMap) protected void
setState
(InputStreamHook.ReadObjectState newState) protected void
Methods inherited from class java.io.ObjectInputStream
available, close, enableResolveObject, 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, skipBytes
Methods inherited from class java.io.InputStream
mark, markSupported, read, reset, skip
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.io.ObjectInput
read, skip
-
Field Details
-
omgWrapper
-
utilWrapper
-
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:
defaultReadObject
in classObjectInputStream
- Throws:
IOException
ClassNotFoundException
NotActiveException
-
defaultReadObjectDelegate
abstract void defaultReadObjectDelegate() -
readFields
abstract void readFields(Map<String, Object> fieldToValueMap) throws InvalidClassException, StreamCorruptedException, ClassNotFoundException, IOException -
readFields
public ObjectInputStream.GetField readFields() throws IOException, ClassNotFoundException, NotActiveException- Overrides:
readFields
in classObjectInputStream
- Throws:
IOException
ClassNotFoundException
NotActiveException
-
setState
-
getStreamFormatVersion
protected abstract byte getStreamFormatVersion() -
getOrbStream
-
throwOptionalDataIncompatibleException
protected void throwOptionalDataIncompatibleException()
-