Top Description Methods
jakarta.mail.event

public Interface ConnectionListener

extends EventListener
Known Direct Implementers
jakarta.mail.event.ConnectionAdapter

This is the Listener interface for Connection events.
Author
John Mani

Method Summary

Modifier and TypeMethod and Description
public void
closed(ConnectionEvent
the ConnectionEvent
e
)

Invoked when a Store/Folder/Transport is closed.

public void
disconnected(ConnectionEvent
the ConnectionEvent
e
)

Invoked when a Store is disconnected.

public void
opened(ConnectionEvent
the ConnectionEvent
e
)

Invoked when a Store/Folder/Transport is opened.

Method Detail

closedback to summary
public void closed(ConnectionEvent e)

Invoked when a Store/Folder/Transport is closed.

Parameters
e:ConnectionEvent

the ConnectionEvent

disconnectedback to summary
public void disconnected(ConnectionEvent e)

Invoked when a Store is disconnected. Note that a folder cannot be disconnected, so a folder will not fire this event

Parameters
e:ConnectionEvent

the ConnectionEvent

openedback to summary
public void opened(ConnectionEvent e)

Invoked when a Store/Folder/Transport is opened.

Parameters
e:ConnectionEvent

the ConnectionEvent