EMANE
1.2.1
|
UpstreamTransport allows for processing upstream data and control messages. Upstream packets and control messages are placed on the NEMQueuedLayer functor queue for processing. More...
#include <upstreamtransport.h>
Public Member Functions | |
virtual | ~UpstreamTransport () |
virtual void | processUpstreamPacket (UpstreamPacket &pkt, const ControlMessages &msgs=empty)=0 |
virtual void | processUpstreamControl (const ControlMessages &msgs)=0 |
virtual void | setDownstreamTransport (DownstreamTransport *pDownstreamTransport) |
void | sendDownstreamPacket (DownstreamPacket &pkt, const ControlMessages &msgs=empty) |
void | sendDownstreamControl (const ControlMessages &msgs) |
Static Public Attributes | |
static const ControlMessages | empty |
Protected Member Functions | |
UpstreamTransport () | |
UpstreamTransport allows for processing upstream data and control messages. Upstream packets and control messages are placed on the NEMQueuedLayer functor queue for processing.
Definition at line 52 of file upstreamtransport.h.
|
inlinevirtual |
Definition at line 55 of file upstreamtransport.h.
|
inlineprotected |
Definition at line 110 of file upstreamtransport.h.
|
pure virtual |
Process upstream control message
msgs | reference to the ControlMessages |
Implemented in EMANE::Models::IEEE80211ABG::MACLayer, EMANE::Models::RFPipe::MACLayer, EMANE::NEMStatefulLayer, EMANE::Models::TDMA::BaseModel::Implementation, EMANE::Transports::Virtual::VirtualTransport, EMANE::NEMQueuedLayer, EMANE::Models::Bypass::MACLayer, EMANE::Transports::Raw::RawTransport, EMANE::Models::TDMA::BaseModel, EMANE::Models::PHYAPITest::ShimLayer, EMANE::Models::CommEffect::Shim, EMANE::Models::TimingAnalysis::ShimLayer, and EMANE::NEMNetworkAdapter.
|
pure virtual |
Process upstream packet
pkt | reference to the UpstreamPacket to process |
msgs | optional reference to the ControlMessages |
Implemented in EMANE::NEMStatefulLayer, EMANE::Transports::Virtual::VirtualTransport, EMANE::NEMQueuedLayer, EMANE::Models::PHYAPITest::ShimLayer, EMANE::Transports::Raw::RawTransport, EMANE::Models::CommEffect::Shim, EMANE::Models::TimingAnalysis::ShimLayer, and EMANE::NEMNetworkAdapter.
|
inline |
Send downstream control message
msgs | reference to the ControlMessages |
Definition at line 44 of file upstreamtransport.inl.
|
inline |
Send downsteam packet
pkt | reference to the DownstreamPacket to process |
msgs | optional reference to the ControlMessages |
Definition at line 37 of file upstreamtransport.inl.
|
inlinevirtual |
Set the downstream transport.
pDownstreamTransport | Pointer to the downstream transport of this upstream transport. |
Reimplemented in EMANE::NEMStatefulLayer, EMANE::PHYLayer, EMANE::MACLayer, EMANE::ShimLayer, and EMANE::TransportLayer.
Definition at line 82 of file upstreamtransport.h.
|
static |
Definition at line 106 of file upstreamtransport.h.