EMANE
1.2.1
|
Over-the-Air adapter handles the intra and inter platform OTA transport. More...
#include <nemotaadapter.h>
Public Member Functions | |
NEMOTAAdapter (NEMId id) | |
~NEMOTAAdapter () | |
void | processOTAPacket (UpstreamPacket &pkt, const ControlMessages &msgs) |
void | processDownstreamPacket (DownstreamPacket &pkt, const ControlMessages &msgs) |
void | open () |
void | close () |
void | setOTAProvider (OTAProvider *pOTAProvider) |
virtual void | setUpstreamTransport (UpstreamTransport *pUpstreamTransport) |
void | sendUpstreamPacket (UpstreamPacket &pkt, const ControlMessages &msgs=empty) |
void | sendUpstreamControl (const ControlMessages &msgs) |
Static Public Attributes | |
static const ControlMessages | empty |
Protected Attributes | |
OTAProvider * | pOTAProvider_ |
Over-the-Air adapter handles the intra and inter platform OTA transport.
Definition at line 55 of file nemotaadapter.h.
EMANE::NEMOTAAdapter::NEMOTAAdapter | ( | NEMId | id | ) |
Definition at line 42 of file nemotaadapter.cc.
EMANE::NEMOTAAdapter::~NEMOTAAdapter | ( | ) |
Definition at line 62 of file nemotaadapter.cc.
void EMANE::NEMOTAAdapter::close | ( | ) |
Definition at line 74 of file nemotaadapter.cc.
void EMANE::NEMOTAAdapter::open | ( | ) |
Definition at line 47 of file nemotaadapter.cc.
|
virtual |
process downstream packet
pkt | reference to the DownstreamPacket |
msgs | referenceto the ControlMessage |
Implements EMANE::DownstreamTransport.
Definition at line 99 of file nemotaadapter.cc.
|
virtual |
process OTA packet
pkt | Downstream packet |
msgs | Control Messages |
Implements EMANE::OTAUser.
Definition at line 94 of file nemotaadapter.cc.
|
inlineinherited |
Send upstream control message
msgs | Reference to the ControlMessages |
Definition at line 44 of file downstreamtransport.inl.
|
inlineinherited |
Send upstream packet
pkt | Reference to the UpstreamPacket to process |
msgs | optional reference to the ControlMessages |
Definition at line 37 of file downstreamtransport.inl.
|
inlineinherited |
|
inlinevirtualinherited |
Set the upstream transport.
pUpstreamTransport | Pointer to the upstream transport of this downstream transport. |
Reimplemented in EMANE::NEMStatefulLayer, EMANE::MACLayer, EMANE::ShimLayer, EMANE::PHYLayer, and EMANE::TransportLayer.
Definition at line 79 of file downstreamtransport.h.
|
staticinherited |
Definition at line 102 of file downstreamtransport.h.
|
protectedinherited |