net.dpml.transit.monitor
Interface Router

All Known Implementing Classes:
AbstractMonitorRouter, CacheMonitorRouter, ConnectionMonitorRouter, NetworkMonitorRouter, RepositoryMonitorRouter

public interface Router

Generic interface implemented by classes that support multicast distribution of monotor events to registered monitors.

Version:
1.0.1
Author:
Digital Product Meta Library

Method Summary
 void addMonitor(Monitor monitor)
          Add a monitor to the set of monitors managed by the router.
 void removeMonitor(Monitor monitor)
          Remove a monitor from the set of monitors managed by the router.
 

Method Detail

addMonitor

public void addMonitor(Monitor monitor)
Add a monitor to the set of monitors managed by the router.

Parameters:
monitor - the monitor to add

removeMonitor

public void removeMonitor(Monitor monitor)
Remove a monitor from the set of monitors managed by the router.

Parameters:
monitor - the monitor to remove