Interface IMBMessageHandler


public interface IMBMessageHandler
Handle a message received over IMB for OTS.

Copyright (c) 2013-2019 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

    Modifier and Type Method Description
    String getIMBEventName()
    Return the IMB event name for which this hander is registered.
    void handle​(TByteBuffer imbPayload)
    Handle an IMB payload for OTS.
  • Method Details

    • 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.