org.ops4j.monitors.stream
Interface StreamSource


public interface StreamSource

An interface for classes that supports StreamMonitors.


Method Summary
 void registerStreamMonitor(StreamMonitor monitor)
          Register a ExceptionMonitor with the source.
 void unregisterStreamMonitor(StreamMonitor monitor)
          Unregister a StreamMonitor with the source.
 

Method Detail

registerStreamMonitor

void registerStreamMonitor(StreamMonitor monitor)
                           throws TooManyMonitorsException
Register a ExceptionMonitor with the source.

Parameters:
monitor - The monitor to register.
Throws:
TooManyMonitorsException - if the StreamSource can not handle another registration.

unregisterStreamMonitor

void unregisterStreamMonitor(StreamMonitor monitor)
Unregister a StreamMonitor with the source.

Parameters:
monitor - The monitor to register.


Copyright © 2006-2013 OPS4J - Open Participation Software for Java. All Rights Reserved.