| Modifier and Type | Field and Description |
|---|---|
| public static final int | CLOSED
A connection was closed. |
| public static final int | DISCONNECTED
A connection was disconnected (not currently used). |
| public static final int | OPENED
A connection was opened. |
| private static final long | |
| protected int | type
The event type. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispatch(Object
the listener to invoke on listener)Implements abstract jakarta. Invokes the appropriate ConnectionListener method |
| public int |
| CLOSED | back to summary |
|---|---|
| public static final int CLOSED A connection was closed. | |
| DISCONNECTED | back to summary |
|---|---|
| public static final int DISCONNECTED A connection was disconnected (not currently used). | |
| OPENED | back to summary |
|---|---|
| public static final int OPENED A connection was opened. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| type | back to summary |
|---|---|
| protected int type The event type. | |
| ConnectionEvent | back to summary |
|---|---|
| public ConnectionEvent(Object source, int type) Construct a ConnectionEvent.
| |
| dispatch | back to summary |
|---|---|
| public void dispatch(Object listener) Implements abstract jakarta. Invokes the appropriate ConnectionListener method
| |
| getType | back to summary |
|---|---|
| public int getType() Return the type of this event
| |