Class OutputStreamHook
java.lang.Object
java.io.OutputStream
java.io.ObjectOutputStream
com.sun.corba.ee.impl.io.OutputStreamHook
- All Implemented Interfaces:
Closeable, DataOutput, Flushable, ObjectOutput, ObjectStreamConstants, AutoCloseable
- Direct Known Subclasses:
IIOPOutputStream
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprivate classSince ObjectOutputStream.PutField methods specify no exceptions, we are not checking for null parameters on put methods.protected static classprotected static classprotected static classprotected static classNested classes/interfaces inherited from class ObjectOutputStream
ObjectOutputStream.PutField -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final OutputStreamHook.WriteObjectStateprotected static final OutputStreamHook.WriteObjectStateprivate OutputStreamHook.HookPutFieldsprotected byteprotected OutputStreamHook.WriteObjectStateprotected static final OutputStreamHook.WriteObjectStateprotected static final OutputStreamHook.WriteObjectStateFields inherited from interface 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 TypeMethodDescriptionprotected abstract voidvoidabstract void(package private) abstract ObjectStreamField[](package private) abstract OutputStreambyteprotected voidsetState(OutputStreamHook.WriteObjectState newState) (package private) abstract voidwriteField(ObjectStreamField field, Object value) voidMethods inherited from class ObjectOutputStream
annotateClass, annotateProxyClass, close, drain, enableReplaceObject, flush, replaceObject, reset, useProtocolVersion, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeClassDescriptor, writeDouble, writeFloat, writeInt, writeLong, writeObject, writeObjectOverride, writeShort, writeStreamHeader, writeUnshared, writeUTF
-
Field Details
-
putFields
-
streamFormatVersion
protected byte streamFormatVersion -
writeObjectState
-
NOT_IN_WRITE_OBJECT
-
IN_WRITE_OBJECT
-
WROTE_DEFAULT_DATA
-
WROTE_CUSTOM_DATA
-
-
Constructor Details
-
OutputStreamHook
- Throws:
IOException
-
-
Method Details
-
writeField
- Throws:
IOException
-
defaultWriteObject
- Overrides:
defaultWriteObjectin classObjectOutputStream- Throws:
IOException
-
defaultWriteObjectDelegate
public abstract void defaultWriteObjectDelegate() -
putFields
- Overrides:
putFieldsin classObjectOutputStream- Throws:
IOException
-
getStreamFormatVersion
public byte getStreamFormatVersion() -
getFieldsNoCopy
-
writeFields
- Overrides:
writeFieldsin classObjectOutputStream- Throws:
IOException
-
getOrbStream
-
beginOptionalCustomData
protected abstract void beginOptionalCustomData() -
setState
-