public interface Transceiver
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
Connector |
getConnector()
Retrieve the IMB connector.
|
String |
getId()
Retrieve the id for the Transceiver channel, e.g.
|
void |
handleMessageFromIMB(String imbEventName,
TByteBuffer imbPayload)
Handle an IMB message sent to OTS.
|
String getId()
Connector getConnector()
void handleMessageFromIMB(String imbEventName, TByteBuffer imbPayload) throws IMBException
imbEventName
- String; the IMB event name of the message that was received from IMBimbPayload
- TByteBuffer; the packed IMB message payloadIMBException
- in case the IMB event cannot be handled by this TransceiverCopyright © 2014–2016 Delft University of Technology. All rights reserved.