ParameterNoticeBoard
Class EventBroadcaster.ListenerUpdaterThread

java.lang.Object
  extended by java.lang.Thread
      extended by ParameterNoticeBoard.EventBroadcaster.ListenerUpdaterThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
EventBroadcaster

private class EventBroadcaster.ListenerUpdaterThread
extends java.lang.Thread

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 parameterSubscriber
This is the subscriber/listener to the parameter item


listener

iParameterNoticeBoard.ParameterNoticeBoardListener listener
This is the subscriber/listener to the parameter item

Constructor Detail

EventBroadcaster.ListenerUpdaterThread

EventBroadcaster.ListenerUpdaterThread(iParameterNoticeBoard.ParameterNoticeBoardListener listener,
                                       ParameterSubscriber parameterSubscriber)
Constructor

Parameters:
listener - This is a CORBA reference to the remote object which is listening to the parameter noticeboard item
parameterSubscriber - This is a subscriber which contains the details of the listener of the parameter noticeboard item
Method Detail

run

public 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.

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.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread