Class ObjectArrayToIMB


  • public class ObjectArrayToIMB
    extends java.lang.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 Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static TByteBuffer objectArrayToIMBPayload​(java.lang.Object[] data)
      Convert an array of Object to an IMB payload.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • objectArrayToIMBPayload

        public static TByteBuffer objectArrayToIMBPayload​(java.lang.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