javax.mail.event
Class ConnectionAdapter

java.lang.Object
  extended by javax.mail.event.ConnectionAdapter
All Implemented Interfaces:
java.util.EventListener, ConnectionListener

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

An adapter for connection events.

Version:
1.3
Author:
Chris Burdess

Constructor Summary
ConnectionAdapter()
           
 
Method Summary
 void closed(ConnectionEvent e)
          A service or folder was closed.
 void disconnected(ConnectionEvent e)
          A service was disconnected.
 void opened(ConnectionEvent e)
          A service or folder was opened.
 
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)
A service or folder was opened.

Specified by:
opened in interface ConnectionListener

disconnected

public void disconnected(ConnectionEvent e)
A service was disconnected.

Specified by:
disconnected in interface ConnectionListener

closed

public void closed(ConnectionEvent e)
A service or folder was closed.

Specified by:
closed in interface ConnectionListener


© Copyright 2003, 2004 The Free Software Foundation, All rights reserved