public class CIMEventDispatcher
extends java.lang.Thread
Modifier and Type | Field | Description |
---|---|---|
protected java.util.LinkedList<CIMEvent> |
iEventQueue |
|
protected java.util.EventListener |
iListener |
Constructor | Description |
---|---|
CIMEventDispatcher(java.util.EventListener pListener) |
Construct a CIMEventDispatcher object which distributes CIMEvents to the
appropriate CIMListener.
|
CIMEventDispatcher(java.util.EventListener pListener,
int pMaxEvents) |
Construct a CIMEventDispatcher object which distributes CIMEvents to the
appropriate CIMListener.
|
Modifier and Type | Method | 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.
|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected java.util.LinkedList<CIMEvent> iEventQueue
protected java.util.EventListener iListener
public CIMEventDispatcher(java.util.EventListener pListener)
pListener
- The CIMListener (IndicationListener or
IndicationListenerSBLIM) which receives the CIMEvents to be
dispatched.public CIMEventDispatcher(java.util.EventListener pListener, int pMaxEvents)
pListener
- The CIMListener (IndicationListener or
IndicationListenerSBLIM) which receives the CIMEvents to be
dispatched.pMaxEvents
- The maximum number of CIMEvents waiting to be dispatched.public void dispatchEvent(CIMEvent pEvent)
pEvent
- The CIMEvent to be dispatched.public void startup()
public void kill()
public void close()
public void run()
run
in class java.lang.Thread
Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.