1 package org.opentrafficsim.imb.transceiver;
2
3 import nl.tno.imb.TByteBuffer;
4
5 /**
6 * Convert an event received over IMB to an equivalent event for OTS (DSOL).
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 IMBToOTSTransformer
18 {
19 /**
20 * Transform an IMB payload to a combination of an OTS (DSOL) event content and an identified listener.
21 * @param imbPayload TByteBuffer; the IMB payload
22 * @return IMBTransformResult; a combination of an OTS (DSOL) event content and an identified listener
23 */
24 IMBTransformResult transform(TByteBuffer imbPayload);
25
26 }