|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.event.ConnectionAdapter
public abstract class ConnectionAdapter
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)
Invoked when a Store/Folder/Transport is closed. |
void |
disconnected(ConnectionEvent e)
Invoked when a Store is disconnected. |
void |
opened(ConnectionEvent e)
Invoked when a Store/Folder/Transport is opened. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionAdapter()
Method Detail |
---|
public void opened(ConnectionEvent e)
ConnectionListener
opened
in interface ConnectionListener
public void disconnected(ConnectionEvent e)
ConnectionListener
disconnected
in interface ConnectionListener
public void closed(ConnectionEvent e)
ConnectionListener
closed
in interface ConnectionListener
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.