ConnectionAdapter (Java EE 5)
From Java EE API
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.mail.event Class ConnectionAdapter
java.lang.Objectjavax.mail.event.ConnectionAdapter
- All Implemented Interfaces:
- EventListener, ConnectionListener
public abstract class ConnectionAdapter
- extends 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.
- Author:
- John Mani
| 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()
英文文档:
ConnectionAdapter
public ConnectionAdapter()
| Method Detail |
|---|
public void
opened(ConnectionEvent e)
英文文档:
opened
public void opened(ConnectionEvent e)
- Description copied from interface:
ConnectionListener - Invoked when a Store/Folder/Transport is opened.
- Specified by:
openedin interfaceConnectionListener
public void
disconnected(ConnectionEvent e)
英文文档:
disconnected
public void disconnected(ConnectionEvent e)
- Description copied from interface:
ConnectionListener - Invoked when a Store is disconnected. Note that a folder
cannot be disconnected, so a folder will not fire this event
- Specified by:
disconnectedin interfaceConnectionListener
public void
closed(ConnectionEvent e)
英文文档:
closed
public void closed(ConnectionEvent e)
- Description copied from interface:
ConnectionListener - Invoked when a Store/Folder/Transport is closed.
- Specified by:
closedin interfaceConnectionListener
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.