|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.Observable
|
+--com.eyebolt.iplib.IPCallback
observable that can have setChanged public!
| Field Summary | |
static int |
DEFAULT
Description of the Field |
static int |
LISTEN
Description of the Field |
private int |
mytype
|
| Fields inherited from class java.util.Observable |
changed, obs |
| Constructor Summary | |
IPCallback()
Constructor for the IPCallback object creates a DEFAULT callback object |
|
IPCallback(int type)
Creates a callback with the given ID/Type. |
|
| Method Summary | |
void |
callMe(java.util.Observer o)
Add this object as an observer of this callback. |
(package private) void |
changeIt()
Notify the observers that the expected event has occurred. |
int |
getType()
Gets the Type attribute of the IPCallback object |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final int DEFAULT
public static final int LISTEN
private int mytype
| Constructor Detail |
public IPCallback()
public IPCallback(int type)
type - should be DEFAULT or LISTEN| Method Detail |
public int getType()
public void callMe(java.util.Observer o)
o - when the callback activity occurs, this object will be
notified.void changeIt()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||