com.dyuproject.protostuff
Interface StatefulOutput

All Superinterfaces:
Output

public interface StatefulOutput
extends Output

An output that keeps the state of the schema being used.

Author:
David Yu
Date created:
Jan 24, 2011

Method Summary
 void updateLast(Schema<?> schema, Schema<?> lastSchema)
          Updates the schema if lastSchema was indeed the last schema used.
 
Methods inherited from interface com.dyuproject.protostuff.Output
writeBool, writeByteArray, writeByteRange, writeBytes, writeDouble, writeEnum, writeFixed32, writeFixed64, writeFloat, writeInt32, writeInt64, writeObject, writeSFixed32, writeSFixed64, writeSInt32, writeSInt64, writeString, writeUInt32, writeUInt64
 

Method Detail

updateLast

void updateLast(Schema<?> schema,
                Schema<?> lastSchema)
Updates the schema if lastSchema was indeed the last schema used.



Copyright © 2009-2013. All Rights Reserved.