net.groboclown.eventbus.v2.rmi
Interface IRemoteEventBus
- All Superinterfaces:
- Remote
- All Known Implementing Classes:
- RemoteEventBus
- public interface IRemoteEventBus
- extends Remote
Master control unit which is in charge of registering event listeners,
deregistering event listeners, and distributing events. There are
no default distributors, so those must be manually added, or
specified as external distributors through the command-line.
This has been redesigned to allow for multiple busses to co-exist within
the same VM.
- Version:
- Alpha 0.9.0
- Author:
- Matt Albrecht
addRemoteListener
public void addRemoteListener(IRemoteListener listener)
throws RemoteException
- Add the given listener to the list, and generates a filter agent.
removeRemoteListener
public boolean removeRemoteListener(IRemoteListener listener)
throws RemoteException
- Deregister the given listener and its filter.
- Returns:
- true if the listener was found and removed, or
false if it could not be found.
redirectEvent
public void redirectEvent(RemoteEventBusEvent rebe)
throws RemoteException
getBusId
public String getBusId()
throws RemoteException
Written under the LGPL