net.dpml.transit.monitor
Interface ConnectionMonitor

All Superinterfaces:
Monitor
All Known Implementing Classes:
ConnectionMonitorAdapter, ConnectionMonitorRouter

public interface ConnectionMonitor
extends Monitor

A monitor of a network activity or activities.

The NetworkMonitor must be thread safe.

Version:
1.0.3
Author:
Digital Product Meta Library
See Also:
Monitor

Field Summary
 
Fields inherited from interface net.dpml.transit.monitor.Monitor
BOOTSTRAP_DEBUG_KEY
 
Method Summary
 void connectCompleted(URL url)
          Notify the monitor that a connection was completed.
 void connectionOpened(URL url)
          Notify the monitor that a connection was opened.
 void connectStarted(URL url)
          Notify the monitor that a connection was started.
 

Method Detail

connectionOpened

void connectionOpened(URL url)
Notify the monitor that a connection was opened.

Parameters:
url - the url on which the open connection was issued

connectStarted

void connectStarted(URL url)
Notify the monitor that a connection was started.

Parameters:
url - the target connection

connectCompleted

void connectCompleted(URL url)
Notify the monitor that a connection was completed.

Parameters:
url - the target connection