package org.opentrafficsim.imb.transceiver; import nl.tno.imb.TByteBuffer; /** * Convert an event received over IMB to an equivalent event for OTS (DSOL). *
* 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 IMBToOTSTransformer
{
/**
* Transform an IMB payload to a combination of an OTS (DSOL) event content and an identified listener.
* @param imbPayload TByteBuffer; the IMB payload
* @return IMBTransformResult; a combination of an OTS (DSOL) event content and an identified listener
*/
IMBTransformResult transform(TByteBuffer imbPayload);
}