public class ConnectionEvent extends MailEvent
| Modifier and Type | Field and Description | 
|---|---|
| static int | CLOSEDA connection was closed. | 
| static int | DISCONNECTEDA connection was disconnected (not currently used). | 
| static int | OPENEDA connection was opened. | 
| protected int | typeThe event type. | 
source| Constructor and Description | 
|---|
| ConnectionEvent(Object source,
               int type)Construct a ConnectionEvent. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispatch(Object listener)Invokes the appropriate ConnectionListener method | 
| int | getType()Return the type of this event | 
getSource, toStringpublic static final int OPENED
public static final int DISCONNECTED
public static final int CLOSED
protected int type
public ConnectionEvent(Object source, int type)
source - The source objecttype - the event typeCopyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.