|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--ninja.activeproxy.path.OpNotifier
The OpNotifier class runs a thread which signals clients when operators appear or disappear from the currently running operators.
Field Summary | |
private java.util.Vector |
ops
|
private int |
sleepInterval
|
private OpNotifierIF |
toNotify
|
Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
Constructor Summary | |
OpNotifier(OpNotifierIF notify,
int sleepIterval)
Prepare to send messages to the specified OpNotifierIF |
Method Summary | |
private java.util.Vector |
findMissingOperators(java.util.Vector newOps)
Given a list of currently available operators, return the old operators which are no longer available |
private java.util.Vector |
findNewOperators(java.util.Vector newOps)
Given a list of currently available operators, return the current operators which are not in the cached operator list. |
void |
run()
Begin running the OpNotifier |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
private OpNotifierIF toNotify
private java.util.Vector ops
private int sleepInterval
Constructor Detail |
public OpNotifier(OpNotifierIF notify, int sleepIterval)
notify
- The OpNotifierIF to send messages at.Method Detail |
public void run()
private java.util.Vector findNewOperators(java.util.Vector newOps)
private java.util.Vector findMissingOperators(java.util.Vector newOps)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |