javax.mail.event

Interface ConnectionListener

public interface ConnectionListener extends EventListener

Listener for handling connection events.
Method Summary
abstract voidclosed(ConnectionEvent event)
Called when a connection is closed.
abstract voiddisconnected(ConnectionEvent event)
Called when a connection is disconnected.
abstract voidopened(ConnectionEvent event)
Called when a connection is opened.

Method Detail

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.