com.ibm.etill.framework.eventmgr
Class EventDispatcher

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.ibm.etill.framework.eventmgr.EventDispatcher
All Implemented Interfaces:
EventConstants, Runnable

public synchronized class EventDispatcher
extends Thread
implements EventConstants


Field Summary
static Vector cassetteListeners
           
static Vector snmListeners
           
static Vector stateChangeListeners
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface com.ibm.etill.framework.eventmgr.EventConstants
ACCOUNTNUMBER, BATCH_OBJECT, BATCHNUMBER, CASSETTE_EVENT, CASSETTENAME, COMPONENTNAME, CREDIT_OBJECT, CREDITNUMBER, CURRENTSTATE, DOWN, ENABLED, EVENTLISTENER, EVENTTYPE, FRAMEWORK, HOSTNAME, LISTENERURI, MERCHANT_EVENT, MERCHANTNUMBER, NETMGR_EVENT, OBJECTNAME, ORDER_OBJECT, ORDERDATA1, ORDERDATA2, ORDERDATA3, ORDERDATA4, ORDERDATA5, ORDERNUMBER, PAYMENT_OBJECT, PAYMENTNUMBER, PORTNUMBER, PREVIOUSSTATE, PRIMARYRC, SECONDARYRC, SEPARATOR, SOCKSHOST, SOCKSPORT, STATE_CHANGE_EVENT, STATUS, TIMEGENERATED, TIMEREGISTERED, TRANSACTIONID, UP
 
Constructor Summary
EventDispatcher()
           
 
Method Summary
static EventQueue acquireQueue()
           
 void distributeEvent(PSEvent)
           
static EventQueue getQueue()
           
static EventListener obtainEventListenerObject(int, String, String, String)
           
 void registerListener(EventListener)
           
static void removeEventListenerObject(int, String, String, String)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stateChangeListeners

public static Vector stateChangeListeners

cassetteListeners

public static Vector cassetteListeners

snmListeners

public static Vector snmListeners
Constructor Detail

EventDispatcher

public EventDispatcher()
Method Detail

run

public void run()
Overrides:
run in class Thread

getQueue

public static EventQueue getQueue()

distributeEvent

public void distributeEvent(PSEvent)
                     throws ETillFrameworkException

registerListener

public void registerListener(EventListener)
                      throws ETillAbortOperation

acquireQueue

public static EventQueue acquireQueue()

obtainEventListenerObject

public static EventListener obtainEventListenerObject(int,
                                                      String,
                                                      String,
                                                      String)

removeEventListenerObject

public static void removeEventListenerObject(int,
                                             String,
                                             String,
                                             String)
                                      throws ETillAbortOperation