All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface JavaGroups.Algorithms.StateExchange

public interface StateExchange
Interface for state exchange. A class implementing state exchange has to provide bodies for the 3 methods below.


Method Index

 o GetState()
Return the copy of the saved state.
 o SaveState()
Save the current state in a copy
 o SetState(Object)
Set the current state to be new_state

Methods

 o SaveState
 public abstract void SaveState()
Save the current state in a copy

 o GetState
 public abstract Object GetState()
Return the copy of the saved state. Copy was previously created by SaveState

 o SetState
 public abstract void SetState(Object new_state)
Set the current state to be new_state


All Packages  Class Hierarchy  This Package  Previous  Next  Index