net.groboclown.eventbus.v2.tests
Class TestEventBus.TestDistributor

java.lang.Object
  |
  +--net.groboclown.eventbus.v2.tests.TestEventBus.TestDistributor
All Implemented Interfaces:
IEventDistributor
Enclosing class:
TestEventBus

public static class TestEventBus.TestDistributor
extends Object
implements IEventDistributor


Field Summary
static LinkedList initializedDistributors
           
 LinkedList knownEvents
           
 EventBus localBus
           
 
Constructor Summary
TestEventBus.TestDistributor()
           
 
Method Summary
 void initialize(EventBus eb)
          Sets up the distributor after it has been created.
 void sendEvent(EventBusEvent ebe)
          Send the given event to wherever it needs to go.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

initializedDistributors

public static final LinkedList initializedDistributors

localBus

public EventBus localBus

knownEvents

public LinkedList knownEvents
Constructor Detail

TestEventBus.TestDistributor

public TestEventBus.TestDistributor()
Method Detail

initialize

public void initialize(EventBus eb)
Description copied from interface: IEventDistributor
Sets up the distributor after it has been created.
Specified by:
initialize in interface IEventDistributor

sendEvent

public void sendEvent(EventBusEvent ebe)
Description copied from interface: IEventDistributor
Send the given event to wherever it needs to go.
Specified by:
sendEvent in interface IEventDistributor


Written under the LGPL