org.jnetstream.packet
Interface Updatable

All Known Subinterfaces:
HeaderModifier

public interface Updatable

Interface allows update operation to be performed on an object. What happens within the object is not specified by this interface. Some kind of state change may happen upon invocation of this method.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Method Summary
 void update()
          Calls on the implementing object to reflect any changes that have been made to it.
 

Method Detail

update

void update()
            throws java.io.IOException,
                   UpdateException
Calls on the implementing object to reflect any changes that have been made to it. The object may or may not also be flushed to some storage medium or some flushable representation. A flush operation will likely call on update method though.

Throws:
java.io.IOException - any storage related exception
UpdateException - update exception will report on any state related errors that are related to unusable or unstable object state