|
||||||||||
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, RemoteException
DIException
- if an error occurs while retrieving the EventHandler type.
RemoteException
- if a communication-related exception occurs.String getEventHandlerTypeName() throws DIException, RemoteException
DIException
- if an error occurs while retrieving EventHandler type name.
RemoteException
- if a communication-related exception occurs.ConfigInstance getConfigInstance() throws DIException, RemoteException
DIException
- if an error occurs while retrieving the configuration instance information.
RemoteException
- if a communication-related exception occurs.String getName() throws DIException, RemoteException
DIException
- if an error occurs while retrieving the name of the EventHandler.
RemoteException
- if a communication-related exception occurs.int getUniqueCode() throws DIException, RemoteException
DIException
- if an error occurs while retrieving the unique code of the EventHandler.
RemoteException
- if a communication-related exception occurs.EventHandlerConfig getConfig() throws DIException, RemoteException
DIException
- if an error occurs while retrieving the configuration information of the EventHandler.
RemoteException
- if a communication-related exception occurs.TaskStatistics getStatistics() throws DIException, RemoteException
DIException
- if an error occurs while getting the EventHandler statistics.
RemoteException
- if a communication-related exception occurs.void stop() throws DIException, RemoteException
DIException
- if an error occurs while stopping the EventHandler.
RemoteException
- if a communication-related exception occurs.String getSystemLogFilePath() throws DIException, RemoteException
DIException
- if an error occurs while obtaining EventHandler log file path.
RemoteException
- if a communication-related exception occurs.String getSystemLogFileName() throws DIException, RemoteException
DIException
- if an error occurs while obtaining EventHandler log file name.
RemoteException
- if a communication-related exception occurs.String getSystemLog() throws DIException, RemoteException
DIException
- if an error occurs while obtaining EventHandler's log.
RemoteException
- if a communication-related exception occurs.String getSystemLogLastChunk(int aLastKilobytes) throws DIException, RemoteException
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.
RemoteException
- if a communication-related exception occurs.String getGlobalUniqueID() throws DIException, RemoteException
DIException
- if an error occurs while obtaining the EventHandler GUID value.
RemoteException
- if a communication-related exception occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |