package org.opentrafficsim.imb.transceiver; import nl.tudelft.simulation.event.EventInterface; /** * Convert an OTS/DSOL event received to an equivalent event for IMB. *
* 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
* @author Peter Knoppers
* @author Wouter Schakel
*/
public interface OTSToIMBTransformer
{
/**
* Transform an IMB payload to an OTS (DSOL) event.
* @param event EventInterface; the OTS (DSOL) event
* @return Object[]; the IMB payload
*/
Object[] transform(EventInterface event);
}