Package org.opentrafficsim.imb
Class ObjectArrayToIMB
- java.lang.Object
-
- org.opentrafficsim.imb.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TByteBufferobjectArrayToIMBPayload(Object[] data)Convert an array of Object to an IMB payload.
-
-
-
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
-
-