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 classprotected 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.WriteObjectStateprotected 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 voidbyteprotected voidsetState(OutputStreamHook.WriteObjectState newState) 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
-
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
-
defaultWriteObject
- Overrides:
defaultWriteObjectin classObjectOutputStream- Throws:
IOException
-
defaultWriteObjectDelegate
public abstract void defaultWriteObjectDelegate() -
putFields
- Overrides:
putFieldsin classObjectOutputStream- Throws:
IOException
-
getStreamFormatVersion
public byte getStreamFormatVersion() -
writeFields
- Overrides:
writeFieldsin classObjectOutputStream- Throws:
IOException
-
beginOptionalCustomData
protected abstract void beginOptionalCustomData() -
setState
-