public interface

IProp

edu.stanford.junction.props2.IProp
Known Indirect Subclasses

Summary

Public Methods
abstract void addChangeListener(IPropChangeListener listener)
abstract void addOperation(JSONObject operation)
abstract String getPropName()
The name of the prop at large.
abstract String getPropReplicaName()
abstract long getSequenceNum()
The internal counter that tracks how many operations have been executed on this prop's state.
abstract IProp newFresh()
abstract void removeAllChangeListeners()
abstract void removeChangeListener(IPropChangeListener listener)
abstract void removeChangeListenersOfType(String type)

Public Methods

public abstract void addChangeListener (IPropChangeListener listener)

public abstract void addOperation (JSONObject operation)

public abstract String getPropName ()

The name of the prop at large. All peers must share this name.

public abstract String getPropReplicaName ()

public abstract long getSequenceNum ()

The internal counter that tracks how many operations have been executed on this prop's state. For a given state, this number should be the same at all peers.

public abstract IProp newFresh ()

public abstract void removeAllChangeListeners ()

public abstract void removeChangeListener (IPropChangeListener listener)

public abstract void removeChangeListenersOfType (String type)