DataType
- the desired target data type of the user handler. The event
payload will be casted to this typepublic abstract class AbstractDataHandler<DataType> extends Object implements Handler
Constructor and Description |
---|
AbstractDataHandler() |
Modifier and Type | Method and Description |
---|---|
abstract void |
handleEvent(DataType data)
Called with the extracted data.
|
void |
internalNotify(Event event)
Internal notification with a received event.
|
public void internalNotify(Event event)
Handler
internalNotify
in interface Handler
event
- the received event the handler should processpublic abstract void handleEvent(DataType data)
data
- data contained in the event to handleCopyright © 2018 CoR-Lab. All rights reserved.