|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.proc.Observation
public abstract class Observation
The binding between an Observer and its Observable.
Field Summary | |
---|---|
protected Observable |
observable
|
protected Observer |
observer
|
Constructor Summary | |
---|---|
protected |
Observation(Observable observable,
Observer observer)
Create a new Observer binding. |
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 |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface frysk.event.Event |
---|
execute |
Field Detail |
---|
protected final Observable observable
protected final Observer observer
Constructor Detail |
---|
protected Observation(Observable observable, Observer observer)
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void fail(Throwable w)
public abstract void handleAdd()
public abstract void handleDelete()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |