net.groboclown.eventbus.v2.rmi
Class RemoteDistributor

java.lang.Object
  |
  +--net.groboclown.eventbus.v2.rmi.RemoteDistributor
All Implemented Interfaces:
IEventDistributor

public class RemoteDistributor
extends Object
implements IEventDistributor

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

Version:
Alpha 0.9.1d
Author:
Matt Albrecht

Field Summary
private  IRemoteEventBus remoteBus
           
 
Constructor Summary
RemoteDistributor(IRemoteEventBus remoteBus)
           
 
Method Summary
 void initialize(EventBus eb)
          Sets up the local 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

remoteBus

private IRemoteEventBus remoteBus
Constructor Detail

RemoteDistributor

public RemoteDistributor(IRemoteEventBus remoteBus)
Method Detail

initialize

public void initialize(EventBus eb)
Sets up the local 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