public class ProcessingEvent extends Event<ProcessingEvent.Type>
Simple base data structure for all events linked to processing modules
Modifier and Type | Class and Description |
---|---|
static class |
ProcessingEvent.Type
Possible event types for a ProcessingEvent
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
processId
ID of module that generated the event
|
protected ProcessingEvent.Type |
type
Type of sensor event
|
Constructor and Description |
---|
ProcessingEvent(long timeStamp,
java.lang.String processId,
ProcessingEvent.Type type)
Sole constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProcessId() |
ProcessingEvent.Type |
getType() |
getSource, getTimeStamp
protected java.lang.String processId
protected ProcessingEvent.Type type
public ProcessingEvent(long timeStamp, java.lang.String processId, ProcessingEvent.Type type)
timeStamp
- unix time of event generationprocessId
- ID of originating processtype
- type of eventpublic java.lang.String getProcessId()
public ProcessingEvent.Type getType()
getType
in class Event<ProcessingEvent.Type>