|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventHandler
Represents an EventHandler instance.
| Field Summary | |
|---|---|
static String[] |
EH_TYPE_NAME
|
static int |
EH_TYPE_SWITCHBOARD
|
static int |
EH_TYPE_TRIGGER
|
| Method Summary | |
|---|---|
EventHandlerConfig |
getConfig()
Returns configuration information about the EventHandler. |
ConfigInstance |
getConfigInstance()
Returns the configuration instance of the EventHandler. |
int |
getEventHandlerType()
Returns the EventHandler type. |
String |
getEventHandlerTypeName()
Returns the EventHandler type name. |
String |
getGlobalUniqueID()
Returns EventHandler GUID. |
String |
getName()
Returns the name of the EventHandler. |
TaskStatistics |
getStatistics()
This method returns the TaskStatistics object for this EventHandler. |
String |
getSystemLog()
Retrieves the current EventHandler's system log. |
String |
getSystemLogFileName()
Returns the name of the log file of the EventHandler (not prefixed by folders path). |
String |
getSystemLogFilePath()
Returns the fully-qualified path of the log file of the EventHandler. |
String |
getSystemLogLastChunk(int aLastKilobytes)
Retrieves the last chunk from the current EventHandler's system log. |
int |
getUniqueCode()
Returns the unique code of the EventHandler. |
void |
stop()
Stops the execution of the EventHandler. |
| Field Detail |
|---|
static final int EH_TYPE_TRIGGER
static final int EH_TYPE_SWITCHBOARD
static final String[] EH_TYPE_NAME
| Method Detail |
|---|
int getEventHandlerType()
throws DIException
DIException - if an error occurs while retrieving the EventHandler type.
String getEventHandlerTypeName()
throws DIException
DIException - if an error occurs while retrieving EventHandler type name.
ConfigInstance getConfigInstance()
throws DIException
DIException - if an error occurs while retrieving the configuration instance information.
String getName()
throws DIException
DIException - if an error occurs while retrieving the name of the EventHandler.
int getUniqueCode()
throws DIException
DIException - if an error occurs while retrieving the unique code of the EventHandler.
EventHandlerConfig getConfig()
throws DIException
DIException - if an error occurs while retrieving the configuration information of the EventHandler.
TaskStatistics getStatistics()
throws DIException
DIException - if an error occurs while getting the EventHandler statistics.
void stop()
throws DIException
DIException - if an error occurs while stopping the EventHandler.
String getSystemLogFilePath()
throws DIException
DIException - if an error occurs while obtaining EventHandler log file path.
String getSystemLogFileName()
throws DIException
DIException - if an error occurs while obtaining EventHandler log file name.
String getSystemLog()
throws DIException
DIException - if an error occurs while obtaining EventHandler's log.
String getSystemLogLastChunk(int aLastKilobytes)
throws DIException
aLastKilobytes - specifies in kilobytes the size of the log's last
chunk that will be read.
DIException - if an error occurs while obtaining EventHandler's log.
String getGlobalUniqueID()
throws DIException
DIException - if an error occurs while obtaining GUID.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||