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 enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Throwableprotected Stringprotected Stringprotected ModuleEvent.ModuleStateprotected 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:EventGets the ID of the source of event.- Specified by:
getSourceIDin classEvent- Returns:
- ID of the event source
-
getModule
-
getType
-
getNewState
-
getError
-
getMessage
-