Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## javax.mail.event
Interface ConnectionListener

All Superinterfaces:
  java.util.EventListener

All Known Implementing Classes:
  ConnectionAdapter

public interface ConnectionListener
extends java.util.EventListener

This is the Listener interface for Connection events.

Author:
  John Mani

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.

Method Detail

### opened

    public void opened(ConnectionEvent e)

  Invoked when a Store/Folder/Transport is opened.

### disconnected

    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

### closed

    public void closed(ConnectionEvent e)

  Invoked when a Store/Folder/Transport is closed.

Overview | Package | Class | Tree | Deprecated | Index | Help
| J2EE1.4 SDK
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.