Interface IMBMessageHandler

  • All Superinterfaces:
    java.io.Serializable

    public interface IMBMessageHandler
    extends java.io.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 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

        java.lang.String getIMBEventName()
        Return the IMB event name for which this hander is registered.
        Returns:
        the IMB event name for which this hander is registered.