EMANE
1.2.1
|
DownstreamTransport allows for processing downstream data and control messages. More...
#include <downstreamtransport.h>
Public Member Functions | |
virtual | ~DownstreamTransport () |
virtual void | processDownstreamPacket (DownstreamPacket &pkt, const ControlMessages &msgs=empty)=0 |
virtual void | processDownstreamControl (const ControlMessages &msgs)=0 |
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 Member Functions | |
DownstreamTransport () | |
DownstreamTransport allows for processing downstream data and control messages.
Definition at line 51 of file downstreamtransport.h.
|
inlinevirtual |
Definition at line 54 of file downstreamtransport.h.
|
inlineprotected |
Definition at line 106 of file downstreamtransport.h.
|
pure virtual |
Process downstream 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::Models::Bypass::MACLayer, EMANE::FrameworkPHY, EMANE::Models::Bypass::PHYLayer, EMANE::Models::TDMA::BaseModel, EMANE::Models::PHYAPITest::ShimLayer, EMANE::NEMQueuedLayer, EMANE::Application::TransportAdapterImpl, EMANE::Models::CommEffect::Shim, and EMANE::Models::TimingAnalysis::ShimLayer.
|
pure virtual |
Process downstream packet
pkt | Reference to the DownstreamPacket to process |
msgs | optional reference to the ControlMessages |
Implemented in EMANE::Models::IEEE80211ABG::MACLayer, EMANE::Models::RFPipe::MACLayer, EMANE::NEMStatefulLayer, EMANE::Models::TDMA::BaseModel::Implementation, EMANE::Models::Bypass::MACLayer, EMANE::FrameworkPHY, EMANE::Models::Bypass::PHYLayer, EMANE::Models::TDMA::BaseModel, EMANE::Models::PHYAPITest::ShimLayer, EMANE::NEMOTAAdapter, EMANE::NEMQueuedLayer, EMANE::Models::CommEffect::Shim, EMANE::Models::TimingAnalysis::ShimLayer, and EMANE::Application::TransportAdapterImpl.
|
inline |
Send upstream control message
msgs | Reference to the ControlMessages |
Definition at line 44 of file downstreamtransport.inl.
|
inline |
Send upstream packet
pkt | Reference to the UpstreamPacket to process |
msgs | optional reference to the ControlMessages |
Definition at line 37 of file downstreamtransport.inl.
|
inlinevirtual |
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.
|
static |
Definition at line 102 of file downstreamtransport.h.