public abstract class InputStreamHook extends ObjectInputStream
Modifier and Type | Class and Description |
---|---|
protected static class |
InputStreamHook.DefaultState |
protected static class |
InputStreamHook.InReadObjectDefaultsSentState |
protected static class |
InputStreamHook.InReadObjectNoMoreOptionalDataState |
protected static class |
InputStreamHook.InReadObjectOptionalDataState |
protected static class |
InputStreamHook.InReadObjectPastDefaultsRemoteDidNotUseWOState |
protected static class |
InputStreamHook.InReadObjectRemoteDidNotUseWriteObjectState |
protected static class |
InputStreamHook.NoReadObjectDefaultsSentState |
protected static class |
InputStreamHook.ReadObjectState |
ObjectInputStream.GetField
Modifier and Type | Field and Description |
---|---|
protected static InputStreamHook.ReadObjectState |
DEFAULT_STATE |
protected static InputStreamHook.ReadObjectState |
IN_READ_OBJECT_DEFAULTS_SENT |
protected static InputStreamHook.ReadObjectState |
IN_READ_OBJECT_NO_MORE_OPT_DATA |
protected static InputStreamHook.ReadObjectState |
IN_READ_OBJECT_OPT_DATA |
protected static InputStreamHook.ReadObjectState |
IN_READ_OBJECT_PAST_DEFAULTS_REMOTE_NOT_CUSTOM |
protected static InputStreamHook.ReadObjectState |
IN_READ_OBJECT_REMOTE_NOT_CUSTOM_MARSHALED |
protected static InputStreamHook.ReadObjectState |
NO_READ_OBJECT_DEFAULTS_SENT |
protected InputStreamHook.ReadObjectState |
readObjectState |
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 and Description |
---|
InputStreamHook() |
Modifier and Type | Method and Description |
---|---|
void |
defaultReadObject() |
abstract void |
defaultReadObjectDelegate() |
protected abstract InputStream |
getOrbStream() |
protected abstract byte |
getStreamFormatVersion() |
ObjectInputStream.GetField |
readFields() |
protected void |
setState(InputStreamHook.ReadObjectState newState) |
protected void |
throwOptionalDataIncompatibleException() |
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
mark, markSupported, read, reset, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read, skip
protected InputStreamHook.ReadObjectState readObjectState
protected static final InputStreamHook.ReadObjectState DEFAULT_STATE
protected static final InputStreamHook.ReadObjectState IN_READ_OBJECT_OPT_DATA
protected static final InputStreamHook.ReadObjectState IN_READ_OBJECT_NO_MORE_OPT_DATA
protected static final InputStreamHook.ReadObjectState IN_READ_OBJECT_DEFAULTS_SENT
protected static final InputStreamHook.ReadObjectState NO_READ_OBJECT_DEFAULTS_SENT
protected static final InputStreamHook.ReadObjectState IN_READ_OBJECT_REMOTE_NOT_CUSTOM_MARSHALED
protected static final InputStreamHook.ReadObjectState IN_READ_OBJECT_PAST_DEFAULTS_REMOTE_NOT_CUSTOM
public InputStreamHook() throws IOException
IOException
public void defaultReadObject() throws IOException, ClassNotFoundException, NotActiveException
defaultReadObject
in class ObjectInputStream
IOException
ClassNotFoundException
NotActiveException
public abstract void defaultReadObjectDelegate()
public ObjectInputStream.GetField readFields() throws IOException, ClassNotFoundException, NotActiveException
readFields
in class ObjectInputStream
IOException
ClassNotFoundException
NotActiveException
protected void setState(InputStreamHook.ReadObjectState newState)
protected abstract byte getStreamFormatVersion()
protected abstract InputStream getOrbStream()
protected void throwOptionalDataIncompatibleException()
Copyright © 2018 JBoss by Red Hat. All rights reserved.