public abstract class TrafficDataEventHandler extends java.lang.Object implements EventDispatchHandler<TrafficDataEvent>
| Constructor and Description |
|---|
TrafficDataEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
handle(java.lang.String inStreamId,
byte[] inData) |
void |
handle(TrafficDataEvent inEvent,
java.lang.Exception ex)
Called when a matching event is dispatched.
|
int |
handleOrder() |
java.lang.Class<TrafficDataEvent> |
handleType() |
void |
onCancelHandler()
Called when this handler is unregistered with the dispatcher.
|
public java.lang.Class<TrafficDataEvent> handleType()
handleType in interface EventDispatchHandler<TrafficDataEvent>public int handleOrder()
handleOrder in interface EventDispatchHandler<TrafficDataEvent>public void handle(TrafficDataEvent inEvent, java.lang.Exception ex) throws java.lang.Exception
EventDispatchHandlerhandle in interface EventDispatchHandler<TrafficDataEvent>handle in interface EventHandler<TrafficDataEvent>inEvent - - The dispatched event.ex - - An exception to pass to the handlerjava.lang.Exceptionpublic abstract void handle(java.lang.String inStreamId,
byte[] inData)
public void onCancelHandler()
EventDispatchHandleronCancelHandler in interface EventDispatchHandler<TrafficDataEvent>