Package org.sensorhub.api.module
Class ModuleEvent
java.lang.Object
org.sensorhub.api.event.Event
org.sensorhub.api.module.ModuleEvent
Event type generated at various times during a module's lifecycle
- Since:
- Sep 5, 2013
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Throwable
protected String
protected String
protected ModuleEvent.ModuleState
protected ModuleEvent.Type
-
Constructor Summary
ConstructorsConstructorDescriptionModuleEvent
(IModule<?> module, String msg) ModuleEvent
(IModule<?> module, Throwable error) ModuleEvent
(IModule<?> module, ModuleEvent.ModuleState newState) ModuleEvent
(IModule<?> module, ModuleEvent.Type type) -
Method Summary
Methods inherited from class org.sensorhub.api.event.Event
getSource, getTimeStamp, toString
-
Field Details
-
moduleID
-
type
-
newState
-
error
-
msg
-
-
Constructor Details
-
ModuleEvent
-
ModuleEvent
-
ModuleEvent
-
ModuleEvent
-
-
Method Details
-
getSourceID
Description copied from class:Event
Gets the ID of the source of event.- Specified by:
getSourceID
in classEvent
- Returns:
- ID of the event source
-
getModule
-
getType
-
getNewState
-
getError
-
getMessage
-