net.groboclown.eventbus.v1
Class LocalEventDistributor
java.lang.Object
|
+--net.groboclown.eventbus.v1.LocalEventDistributor
- All Implemented Interfaces:
- IEventDistributor
- public class LocalEventDistributor
- extends Object
- implements IEventDistributor
The default distributor - sends events asynchronously in the current
thread to all listeners.
- Version:
- Alpha 0.9.0
- Author:
- Matt Albrecht
Method Summary |
void |
initialize()
Sets up the distributor after it has been created. |
void |
sendEvent(EventBusObject ebo)
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 |
LocalEventDistributor
public LocalEventDistributor()
- Default Constructor - mandatory.
initialize
public void initialize()
- Sets up the distributor after it has been created.
- Specified by:
initialize
in interface IEventDistributor
sendEvent
public void sendEvent(EventBusObject ebo)
- Send the given event to wherever it needs to go.
- Specified by:
sendEvent
in interface IEventDistributor
Written under the LGPL