java.io.Serializable
public class ConnectionEvent extends MailEvent
Modifier and Type | Field | Description |
---|---|---|
static int |
CLOSED |
A connection was closed.
|
static int |
DISCONNECTED |
A connection was disconnected (not currently used).
|
static int |
OPENED |
A connection was opened.
|
protected int |
type |
The event type.
|
Constructor | Description |
---|---|
ConnectionEvent(java.lang.Object source,
int type) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
dispatch(java.lang.Object listener) |
Invokes the appropriate listener method.
|
int |
getType() |
Returns the type of this event.
|
public static final int OPENED
public static final int DISCONNECTED
public static final int CLOSED
protected int type
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved