FileDocCategorySizeDatePackage
OutputStreamHook.javaAPI DocJava SE 5 API9726Fri Aug 26 14:54:22 BST 2005com.sun.corba.se.impl.io

OutputStreamHook

public abstract class OutputStreamHook extends ObjectOutputStream

Fields Summary
private HookPutFields
putFields
protected byte
streamFormatVersion
protected WriteObjectState
writeObjectState
protected static final WriteObjectState
NOT_IN_WRITE_OBJECT
protected static final WriteObjectState
IN_WRITE_OBJECT
protected static final WriteObjectState
WROTE_DEFAULT_DATA
protected static final WriteObjectState
WROTE_CUSTOM_DATA
Constructors Summary
public OutputStreamHook()

	super();
		
    
Methods Summary
protected abstract voidbeginOptionalCustomData()

public voiddefaultWriteObject()


        writeObjectState.defaultWriteObject(this);

	defaultWriteObjectDelegate();
    
public abstract voiddefaultWriteObjectDelegate()

abstract ObjectStreamField[]getFieldsNoCopy()

public abstract org.omg.CORBA_2_3.portable.OutputStreamgetOrbStream()

public bytegetStreamFormatVersion()


    // Return the stream format version currently being used
    // to serialize an object
       
        return streamFormatVersion;
    
public java.io.ObjectOutputStream$PutFieldputFields()

	putFields = new HookPutFields();
	return putFields;
    
protected voidsetState(com.sun.corba.se.impl.io.OutputStreamHook$WriteObjectState newState)

    
        
        writeObjectState = newState;
    
abstract voidwriteField(ObjectStreamField field, java.lang.Object value)

public voidwriteFields()


        writeObjectState.defaultWriteObject(this);

        putFields.write(this);