Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.mail.event
Class ConnectionEventTest.ConnectionListenerTest  view ConnectionEventTest.ConnectionListenerTest download ConnectionEventTest.ConnectionListenerTest.java

java.lang.Object
  extended byjavax.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
           
 
Constructor Summary
ConnectionEventTest.ConnectionListenerTest()
           
 
Method Summary
 void closed(ConnectionEvent event)
          Called when a connection is closed.
 void disconnected(ConnectionEvent event)
          Called when a connection is disconnected.
 int getState()
           
 void opened(ConnectionEvent event)
          Called when a connection is opened.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

private int state
Constructor Detail

ConnectionEventTest.ConnectionListenerTest

public ConnectionEventTest.ConnectionListenerTest()
Method Detail

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