javax.mail.event

Interface ConnectionListener

All Superinterfaces:
EventListener
Known Implementing Classes:
ConnectionAdapter

public interface ConnectionListener
extends EventListener

Listener for handling connection events.

Method Summary

abstract void
closed(ConnectionEvent event)
Called when a connection is closed.
abstract void
disconnected(ConnectionEvent event)
Called when a connection is disconnected.
abstract void
opened(ConnectionEvent event)
Called when a connection is opened.

Method Details

closed

public abstract void closed(ConnectionEvent event)
Called when a connection is closed.

disconnected

public abstract void disconnected(ConnectionEvent event)
Called when a connection is disconnected.

opened

public abstract void opened(ConnectionEvent event)
Called when a connection is opened.