EventObject | +--javax.mail.event.MailEvent | +--javax.mail.event.ConnectionEvent
static int | A connection was closed. |
static int | A connection was disconnected (not currently used). |
static int | A connection was opened. |
int | The event type. |
ConnectionEvent(Object source, int type) Constructor |
void | dispatch(Object listener) Invokes the appropriate ConnectionListener method |
int | getType() Return the type of this event |
public static final int CLOSED
public static final int DISCONNECTED
public static final int OPENED
protected int type
public ConnectionEvent(Object source, int type)
public void dispatch(Object listener)
public int getType()