net.groboclown.eventbus.v2
Class LocalEventDistributor

java.lang.Object
  |
  +--net.groboclown.eventbus.v2.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

Field Summary
private  EventBus eb
           
 
Constructor Summary
LocalEventDistributor()
          Default Constructor - mandatory.
 
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

eb

private EventBus eb
Constructor Detail

LocalEventDistributor

public LocalEventDistributor()
Default Constructor - mandatory.
Method Detail

initialize

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

sendEvent

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


Written under the LGPL