net.groboclown.eventbus.v2
Interface IEventDistributor

All Known Implementing Classes:
LocalEventDistributor, ThreadedLocalEventDistributor, RemoteDistributor, TestEventBus.TestDistributor

public interface IEventDistributor

An interface for distributing events to any listeners. It must have a default constructor.

Version:
Alpha 0.9.0
Author:
Matt Albrecht

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.
 

Method Detail

initialize

public void initialize(EventBus eb)
                throws RemoteException
Sets up the distributor after it has been created.

sendEvent

public void sendEvent(EventBusEvent ebe)
               throws RemoteException
Send the given event to wherever it needs to go.


Written under the LGPL