gov.nist.antd.optical.event.monitor
Class EventHandler.EventGun

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--gov.nist.antd.optical.event.monitor.EventHandler.EventGun
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
EventHandler

static class EventHandler.EventGun
extends java.lang.Thread

The internal event gun.


Field Summary
(package private)  TEventObject theEvent
          The event that has to be fired.
(package private)  EventReceiver theReceiver
          The receiver of the event.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
EventHandler.EventGun(EventReceiver receiver, TEventObject event)
          Creates an event gun.
 
Method Summary
 void run()
          Final sending of the event.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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

theReceiver

EventReceiver theReceiver
The receiver of the event.


theEvent

TEventObject theEvent
The event that has to be fired.

Constructor Detail

EventHandler.EventGun

public EventHandler.EventGun(EventReceiver receiver,
                             TEventObject event)
Creates an event gun.

Parameters:
receiver - the receiver of the event.
event - the event.
Method Detail

run

public void run()
Final sending of the event.

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