org.sblim.cimclient.internal.wbem.indications

Class CIMEventDispatcher

public class CIMEventDispatcher extends Thread

Class CIMEventDispatcher is required for indication handling.
Field Summary
protected LinkedList<CIMEvent>iEventQueue
protected IndicationListeneriListener
Constructor Summary
CIMEventDispatcher(IndicationListener pListener)
Construct a CIMEventDispatcher object which distributes CIMEvents to the appropriate CIMListener.
Method Summary
voidclose()
close
voiddispatchEvent(CIMEvent pEvent)
Propagates the CIMEvent to the event consumers.
voidkill()
Stops the dispatching of events.
voidstartup()
Starts the dispatching engine of the CIMEventDispatcher.

Field Detail

iEventQueue

protected LinkedList<CIMEvent> iEventQueue

iListener

protected IndicationListener iListener

Constructor Detail

CIMEventDispatcher

public CIMEventDispatcher(IndicationListener pListener)
Construct a CIMEventDispatcher object which distributes CIMEvents to the appropriate CIMListener.

Parameters: pListener

Method Detail

close

public void close()
close

dispatchEvent

public void dispatchEvent(CIMEvent pEvent)
Propagates the CIMEvent to the event consumers.

Parameters: pEvent

kill

public void kill()
Stops the dispatching of events.

startup

public void startup()
Starts the dispatching engine of the CIMEventDispatcher.
Copyright © 2005, 2010 IBM Corporation. All Rights Reserved.