frysk.proc
Class Observation

java.lang.Object
  extended by frysk.proc.Observation
All Implemented Interfaces:
Event
Direct Known Subclasses:
TaskObservation

public abstract class Observation
extends Object
implements Event

The binding between an Observer and its Observable.


Method Summary
 boolean equals(Object o)
          Returns true if the Object's Observable:Observer binding is identical to this one.
 void fail(Throwable w)
          Tell the observer that the add is failing with w.
abstract  void handleAdd()
          Handle the addition of the Observer to the Observable.
abstract  void handleDelete()
          Handle the deletion of the Observer from the Observable.
 int hashCode()
          A somewhat arbitrary hash code.
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface frysk.event.Event
execute
 

Method Detail

equals

public boolean equals(Object o)
Returns true if the Object's Observable:Observer binding is identical to this one.

Overrides:
equals in class Object

hashCode

public int hashCode()
A somewhat arbitrary hash code.

Overrides:
hashCode in class Object

fail

public void fail(Throwable w)
Tell the observer that the add is failing with w.


handleAdd

public abstract void handleAdd()
Handle the addition of the Observer to the Observable.


handleDelete

public abstract void handleDelete()
Handle the deletion of the Observer from the Observable.


toString

public String toString()
Overrides:
toString in class Object