Class CIMEventDispatcher
java.lang.Object
java.lang.Thread
org.sblim.cimclient.internal.wbem.indications.CIMEventDispatcher
- All Implemented Interfaces:
Runnable
Class CIMEventDispatcher is required for indication handling.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorsConstructorDescriptionCIMEventDispatcher
(EventListener pListener) Construct a CIMEventDispatcher object which distributes CIMEvents to the appropriate CIMListener.CIMEventDispatcher
(EventListener pListener, int pMaxEvents) Construct a CIMEventDispatcher object which distributes CIMEvents to the appropriate CIMListener. -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
iEventQueue
-
iListener
-
-
Constructor Details
-
CIMEventDispatcher
Construct a CIMEventDispatcher object which distributes CIMEvents to the appropriate CIMListener. The EventListener must be an instance of IndicationListener or IndicationListenerSBLIM.- Parameters:
pListener
- The CIMListener (IndicationListener or IndicationListenerSBLIM) which receives the CIMEvents to be dispatched.
-
CIMEventDispatcher
Construct a CIMEventDispatcher object which distributes CIMEvents to the appropriate CIMListener. The EventListener must be an instance of IndicationListener or IndicationListenerSBLIM.- Parameters:
pListener
- The CIMListener (IndicationListener or IndicationListenerSBLIM) which receives the CIMEvents to be dispatched.pMaxEvents
- The maximum number of CIMEvents waiting to be dispatched.
-
-
Method Details
-
dispatchEvent
Propagates the CIMEvent to the event consumers.- Parameters:
pEvent
- The CIMEvent to be dispatched.
-
startup
public void startup()Starts the dispatching engine of the CIMEventDispatcher. -
kill
public void kill()Stops the dispatching of events. -
close
public void close()close -
run
public void run()
-