org.sblim.wbem.client.indications

Class CIMEventDispatcher


public class CIMEventDispatcher
extends Thread

CIMEventDispatcher.java (C) Copyright IBM Corp. 2005, 2009 THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. You can obtain a current copy of the Eclipse Public License from http://www.opensource.org/licenses/eclipse-1.0.php

Field Summary

protected CIMIndicationListenertList
iClient
protected Vector
iEventQueue

Constructor Summary

CIMEventDispatcher(CIMIndicationListenertList pClient)
Construct a CIMEventDispatcher object which distributes CIMEvents to the appropiate CIMListener.

Method Summary

void
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.

Field Details

iClient

protected CIMIndicationListenertList iClient

iEventQueue

protected Vector iEventQueue

Constructor Details

CIMEventDispatcher

public CIMEventDispatcher(CIMIndicationListenertList pClient)
Construct a CIMEventDispatcher object which distributes CIMEvents to the appropiate CIMListener.
Parameters:
pClient -

Method Details

close

public void 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.

run

public void run()

startup

public void startup()
Starts the dispatching engine of the CIMEventDispatcher.

Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.