39 pImplementor_{pImplementor},
40 pPlatformService_{pPlatformService}
50 pImplementor_->initialize(registrar);
56 pImplementor_->configure(update);
65 pImplementor_->start();
71 pImplementor_->postStart();
77 pImplementor_->stop();
86 pImplementor_->destroy();
91 pImplementor_->setDownstreamTransport(pDownstreamTransport);
96 pImplementor_->processConfiguration(update);
99 void EMANE::TransportLayer::doProcessUpstreamPacket(
UpstreamPacket & pkt,
106 void EMANE::TransportLayer::doProcessUpstreamControl(
const ControlMessages & msgs)
108 pImplementor_->processUpstreamControl(msgs);
112 void EMANE::TransportLayer::doProcessEvent(
const EventId & eventId,
115 pImplementor_->processEvent(eventId,serialization);
119 void EMANE::TransportLayer::doProcessTimedEvent(
TimerEventId eventId,
125 pImplementor_->processTimedEvent(eventId,expireTime,scheduleTime,fireTime,arg);
137 void EMANE::TransportLayer::doProcessDownstreamControl(
const ControlMessages &)
std::string Serialization
A Packet class that allows upstream processing to strip layer headers as the packet travels up the st...
The Registrar interface provides access to all of the emulator registrars.
std::list< const ControlMessage * > ControlMessages
Base class for NEMLayer containers. Builders construct NEMLayer objects to contain derived instances ...
void initialize(Registrar ®istrar) override
void postStart() override
void setDownstreamTransport(DownstreamTransport *) override
void setUpstreamTransport(UpstreamTransport *) override
Specialized packet the allows downstream processing to add layer specific headers as the packet trave...
void configure(const ConfigurationUpdate &update) override
TransportLayer(NEMId id, NEMLayer *pImplementor, PlatformServiceProvider *pPlatformService)
void initialize(Registrar ®istrar) override
std::vector< ConfigurationNameAnyValues > ConfigurationUpdate
UpstreamTransport allows for processing upstream data and control messages. Upstream packets and cont...
Clock::time_point TimePoint
DownstreamTransport allows for processing downstream data and control messages.
void processUpstreamPacket(UpstreamPacket &pkt, const ControlMessages &msgs) override
A layer stack with a porcessing queue between each layer to decouple to intra queue processing...