javax.mail.event
Class ConnectionEventTest.ConnectionListenerTest

java.lang.Object
javax.mail.event.ConnectionEventTest.ConnectionListenerTest
- All Implemented Interfaces:
- ConnectionListener, java.util.EventListener
- Enclosing class:
- ConnectionEventTest
- public static class ConnectionEventTest.ConnectionListenerTest
- extends java.lang.Object
- implements ConnectionListener
Field Summary |
private int |
state
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
state
private int state
ConnectionEventTest.ConnectionListenerTest
public ConnectionEventTest.ConnectionListenerTest()
closed
public void closed(ConnectionEvent event)
- Description copied from interface:
ConnectionListener
- Called when a connection is closed.
- Specified by:
closed
in interface ConnectionListener
disconnected
public void disconnected(ConnectionEvent event)
- Description copied from interface:
ConnectionListener
- Called when a connection is disconnected.
- Specified by:
disconnected
in interface ConnectionListener
getState
public int getState()
opened
public void opened(ConnectionEvent event)
- Description copied from interface:
ConnectionListener
- Called when a connection is opened.
- Specified by:
opened
in interface ConnectionListener