Class ObjectArrayToIMB


  • public class ObjectArrayToIMB
    extends Object
    Transmit an array of Object to the IMB hub.

    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 Oct 27, 2016
    Author:
    Alexander Verbraeck, Peter Knoppers, Wouter Schakel
    • Method Detail

      • objectArrayToIMBPayload

        public static TByteBuffer objectArrayToIMBPayload​(Object[] data)
                                                   throws IMBException
        Convert an array of Object to an IMB payload.
        Parameters:
        data - Object[]; the data to transmit
        Returns:
        TByteBuffer; the constructed IMB payload
        Throws:
        IMBException