|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.apelon.beans.dts.plugin.connection.DtsConnectionEvent
public class DtsConnectionEvent
Defines the available Connection events that an interested class may listen for.
DtsConnectionEvent,
Serialized Form| Field Summary | |
|---|---|
static int |
CONNECTION_CLOSE
Connection Close Event ID = CONNECTION_FIRST + 1 |
static int |
CONNECTION_FIRST
Starts the ID sequence at 1000 for Connection events. |
static int |
CONNECTION_LAST
Reflects the current end of the ID sequence at CONNECTION_FIRST + 1
for Connection events. |
static int |
CONNECTION_OPEN
Open Connection Event ID = CONNECTION_FIRST |
static int |
INVALID_CONNECTION_EVENT
Value of -1 to flag an unitialized or invalid setting for {@link #connectionEventType) |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
DtsConnectionEvent(Object source,
int eventType)
Constructs a DtsConnectionEvent object. |
|
| Method Summary | |
|---|---|
int |
getConnectionEventType()
|
void |
setConnectionEventType(int eventType)
|
| 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 |
|---|
public static final int CONNECTION_FIRST
CONNECTION_LAST,
CONNECTION_OPEN,
CONNECTION_CLOSE,
Constant Field Valuespublic static final int CONNECTION_OPEN
CONNECTION_FIRST
CONNECTION_CLOSE,
Constant Field Valuespublic static final int CONNECTION_CLOSE
CONNECTION_FIRST + 1
CONNECTION_CLOSE,
Constant Field Valuespublic static final int CONNECTION_LAST
CONNECTION_FIRST + 1
for Connection events.
CONNECTION_FIRST,
CONNECTION_OPEN,
CONNECTION_CLOSE,
Constant Field Valuespublic static final int INVALID_CONNECTION_EVENT
CONNECTION_OPEN,
CONNECTION_CLOSE,
Constant Field Values| Constructor Detail |
|---|
public DtsConnectionEvent(Object source,
int eventType)
eventType sets
connectionEventType. If eventType is not a valid Connection Event
code then connectionEventType will be set to
INVALID_CONNECTION_EVENT.
source - Should be an object that is a valid source of Connection events.eventType - If valid Connection Event value, is used to set connectionEventTypeDtsConnectionListener,
DtsConnectionAdapter| Method Detail |
|---|
public int getConnectionEventType()
public void setConnectionEventType(int eventType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||