javax.mail.event
Class ConnectionEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.mail.event.MailEvent
          extended byjavax.mail.event.ConnectionEvent
All Implemented Interfaces:
Serializable

public class ConnectionEvent
extends MailEvent

Version:
$Revision: 1.3 $ $Date: 2004/03/10 10:00:27 $
See Also:
Serialized Form

Field Summary
static int CLOSED
           
static int DISCONNECTED
           
static int OPENED
           
protected  int type
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ConnectionEvent(Object source, int type)
           
 
Method Summary
 void dispatch(Object listener)
           
 int getType()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLOSED

public static final int CLOSED
See Also:
Constant Field Values

DISCONNECTED

public static final int DISCONNECTED
See Also:
Constant Field Values

OPENED

public static final int OPENED
See Also:
Constant Field Values

type

protected int type
Constructor Detail

ConnectionEvent

public ConnectionEvent(Object source,
                       int type)
Method Detail

dispatch

public void dispatch(Object listener)
Specified by:
dispatch in class MailEvent

getType

public int getType()


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.