1 package org.opentrafficsim.imb.transceiver; 2 3 import nl.tudelft.simulation.event.EventInterface; 4 5 /** 6 * Convert an OTS/DSOL event received to an equivalent event for IMB. 7 * <p> 8 * Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 9 * BSD-style license. See <a href="http://opentrafficsim.org/docs/current/license.html">OpenTrafficSim License</a>. 10 * <p> 11 * @version $Revision$, $LastChangedDate$, by $Author$, 12 * initial version Sep 9, 2016 <br> 13 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 14 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 15 * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a> 16 */ 17 public interface OTSToIMBTransformer 18 { 19 /** 20 * Transform an IMB payload to an OTS (DSOL) event. 21 * @param event EventInterface; the OTS (DSOL) event 22 * @return Object[]; the IMB payload 23 */ 24 Object[] transform(EventInterface event); 25 26 }