javax.mail.event
Class ConnectionAdapter

java.lang.Object
  |
  +--javax.mail.event.ConnectionAdapter

public abstract class ConnectionAdapter
extends java.lang.Object
implements ConnectionListener

The adapter which receives connection events. The methods in this class are empty; this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.


Constructor Summary
ConnectionAdapter()
           
 
Method Summary
 void closed(ConnectionEvent e)
           
 void disconnected(ConnectionEvent e)
           
 void opened(ConnectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionAdapter

public ConnectionAdapter()
Method Detail

opened

public void opened(ConnectionEvent e)
Specified by:
opened in interface ConnectionListener

disconnected

public void disconnected(ConnectionEvent e)
Specified by:
disconnected in interface ConnectionListener

closed

public void closed(ConnectionEvent e)
Specified by:
closed in interface ConnectionListener