Interface IMBMessageHandler
-
- All Superinterfaces:
Serializable
public interface IMBMessageHandler extends Serializable
Handle a message received over IMB for OTS.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Sep 9, 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetIMBEventName()Return the IMB event name for which this hander is registered.voidhandle(TByteBuffer imbPayload)Handle an IMB payload for OTS.
-
-
-
Method Detail
-
handle
void handle(TByteBuffer imbPayload) throws IMBException
Handle an IMB payload for OTS.- Parameters:
imbPayload- TByteBuffer; the IMB payload- Throws:
IMBException- in case the message cannot be handled
-
getIMBEventName
String getIMBEventName()
Return the IMB event name for which this hander is registered.- Returns:
- the IMB event name for which this hander is registered.
-
-