Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<CIMEvent> |
iEventQueue |
protected EventListener |
iListener |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
CIMEventDispatcher(EventListener pListener)
Construct a CIMEventDispatcher object which distributes CIMEvents to the
appropriate CIMListener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close
|
void |
dispatchEvent(CIMEvent pEvent)
Propagates the CIMEvent to the event consumers.
|
void |
kill()
Stops the dispatching of events.
|
void |
run() |
void |
startup()
Starts the dispatching engine of the CIMEventDispatcher.
|
activeCount, checkAccess, clone, 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, yieldprotected LinkedList<CIMEvent> iEventQueue
protected EventListener iListener
public CIMEventDispatcher(EventListener pListener)
pListener - The CIMListener (IndicationListener or
IndicationListenerSBLIM) which receives the CIMEvents to be
dispatched.public void dispatchEvent(CIMEvent pEvent)
pEvent - The CIMEvent to be dispatched.public void startup()
public void kill()
public void close()
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.