|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
ParameterNoticeBoard.EventBroadcaster.ListenerUpdaterThread
private class EventBroadcaster.ListenerUpdaterThread
This inner class will be used to update the listener within it's own thread by
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
(package private) iParameterNoticeBoard.ParameterNoticeBoardListener |
listener
This is the subscriber/listener to the parameter item |
(package private) ParameterSubscriber |
parameterSubscriber
This is the subscriber/listener to the parameter item |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
EventBroadcaster.ListenerUpdaterThread(iParameterNoticeBoard.ParameterNoticeBoardListener listener,
ParameterSubscriber parameterSubscriber)
Constructor |
Method Summary | |
---|---|
void |
run()
This is the main method of the thread and will result in the remote CORBA object being informed that the parameter noticeboard item which it has been listening to has been updated. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
ParameterSubscriber parameterSubscriber
iParameterNoticeBoard.ParameterNoticeBoardListener listener
Constructor Detail |
---|
EventBroadcaster.ListenerUpdaterThread(iParameterNoticeBoard.ParameterNoticeBoardListener listener, ParameterSubscriber parameterSubscriber)
listener
- This is a CORBA reference to the remote
object which is listening to the parameter noticeboard itemparameterSubscriber
- This is a subscriber which
contains the details of the listener of the parameter
noticeboard itemMethod Detail |
---|
public void run()
Should the method be unable to contact the remote listener, then this listener is removed from the list of listeners which are registerd for updates to this parameter noticeboard item and subsequently will not be contacted again should there be another update on this parameter noticeboard item.
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |