public class EvwEvent
extends java.util.EventObject
This is the base class for application events.
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
DEP_LIST
Class dependencies
|
static int |
EVT_CONNECT
Connect event
|
static int |
EVT_DISCONNECT
Disconnect event
|
static int |
EVT_NEW_DATA
New data
|
static int |
EVT_NONE
Not a valid event
|
static int |
EVT_RCV_EOF
Received end-of-file
|
static int |
EVT_RCV_NULL
Received null
|
static int |
EVT_SRC_EXCEPTION
An exception occured at the event source
|
protected int |
evtType
Event type.
|
protected java.lang.Exception |
srcException
The exception that occured at the event source
|
static java.lang.String |
VERSION
Class version
|
Constructor and Description |
---|
EvwEvent(java.lang.Object evtSource,
int type)
Create a new EvwEvent.
|
EvwEvent(java.lang.Object evtSource,
int type,
java.lang.Exception exception)
Create a new exception EvwEvent.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Get the source exception.
|
int |
getType()
Get the event type.
|
public static final java.lang.String VERSION
public static final java.lang.String[] DEP_LIST
public static final int EVT_NONE
public static final int EVT_NEW_DATA
public static final int EVT_SRC_EXCEPTION
public static final int EVT_RCV_NULL
public static final int EVT_CONNECT
public static final int EVT_DISCONNECT
public static final int EVT_RCV_EOF
protected int evtType
protected java.lang.Exception srcException
public EvwEvent(java.lang.Object evtSource, int type)
evtSource
- The source of the eventtype
- The event typepublic EvwEvent(java.lang.Object evtSource, int type, java.lang.Exception exception)
evtSource
- The source of the eventtype
- The event typeexception
- The exception that occured at the event source