EMANE  1.2.1
EMANE::DownstreamTransport Class Referenceabstract

DownstreamTransport allows for processing downstream data and control messages. More...

#include <downstreamtransport.h>

Inheritance diagram for EMANE::DownstreamTransport:
EMANE::Application::TransportAdapter EMANE::NEMLayer EMANE::NEMOTAAdapter EMANE::Application::TransportAdapterImpl EMANE::MACLayerImplementor EMANE::NEMQueuedLayer EMANE::NEMStatefulLayer EMANE::PHYLayerImplementor EMANE::ShimLayerImplementor EMANE::Transport EMANE::Models::Bypass::MACLayer EMANE::Models::IEEE80211ABG::MACLayer EMANE::Models::RFPipe::MACLayer EMANE::Models::TDMA::BaseModel EMANE::Models::TDMA::BaseModel::Implementation EMANE::MACLayer EMANE::PHYLayer EMANE::ShimLayer EMANE::TransportLayer EMANE::FrameworkPHY EMANE::Models::Bypass::PHYLayer EMANE::Models::CommEffect::Shim EMANE::Models::PHYAPITest::ShimLayer EMANE::Models::TimingAnalysis::ShimLayer EMANE::Transports::Ethernet::EthernetTransport

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 ()
 

Detailed Description

DownstreamTransport allows for processing downstream data and control messages.

Definition at line 51 of file downstreamtransport.h.

Constructor & Destructor Documentation

◆ ~DownstreamTransport()

virtual EMANE::DownstreamTransport::~DownstreamTransport ( )
inlinevirtual

Definition at line 54 of file downstreamtransport.h.

◆ DownstreamTransport()

EMANE::DownstreamTransport::DownstreamTransport ( )
inlineprotected

Definition at line 106 of file downstreamtransport.h.

Member Function Documentation

◆ processDownstreamControl()

◆ processDownstreamPacket()

◆ sendUpstreamControl()

void EMANE::DownstreamTransport::sendUpstreamControl ( const ControlMessages msgs)
inline

Send upstream control message

Parameters
msgsReference to the ControlMessages

Definition at line 44 of file downstreamtransport.inl.

◆ sendUpstreamPacket()

void EMANE::DownstreamTransport::sendUpstreamPacket ( UpstreamPacket pkt,
const ControlMessages msgs = empty 
)
inline

Send upstream packet

Parameters
pktReference to the UpstreamPacket to process
msgsoptional reference to the ControlMessages

Definition at line 37 of file downstreamtransport.inl.

◆ setUpstreamTransport()

virtual void EMANE::DownstreamTransport::setUpstreamTransport ( UpstreamTransport pUpstreamTransport)
inlinevirtual

Set the upstream transport.

Parameters
pUpstreamTransportPointer 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.

Member Data Documentation

◆ empty

const EMANE::ControlMessages EMANE::DownstreamTransport::empty
static

Definition at line 102 of file downstreamtransport.h.


The documentation for this class was generated from the following files: