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.
-
GetState()
- Return the copy of the saved state.
-
SaveState()
- Save the current state in a copy
-
SetState(Object)
- Set the current state to be
new_state
SaveState
public abstract void SaveState()
- Save the current state in a copy
GetState
public abstract Object GetState()
- Return the copy of the saved state. Copy was previously created by SaveState
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