Implementation of the Transport Adapter interface. Connects a Transport implemenation with its respective NEM stack.
More...
#include <transportadapterimpl.h>
|
| TransportAdapterImpl (NEMId id) |
|
| ~TransportAdapterImpl () |
|
void | initialize (Registrar ®istrar) override |
|
void | configure (const ConfigurationUpdate &update) override |
|
void | start () override |
|
void | postStart () override |
|
void | stop () override |
|
void | destroy () override throw () |
|
void | processDownstreamPacket (DownstreamPacket &pkt, const ControlMessages &msgs) |
|
void | processDownstreamControl (const ControlMessages &msgs) |
|
void | setTransport (std::unique_ptr< NEMLayer > &pTransport) override |
|
NEMId | getNEMId () const |
|
virtual void | setUpstreamTransport (UpstreamTransport *pUpstreamTransport) |
|
void | sendUpstreamPacket (UpstreamPacket &pkt, const ControlMessages &msgs=empty) |
|
void | sendUpstreamControl (const ControlMessages &msgs) |
|
BuildId | getBuildId () const |
|
void | setBuildId (BuildId bid) |
|
void | open (const INETAddr &localAddress, const INETAddr &remoteAddress, Protocol protocol) |
|
void | close () |
|
void | processBoundaryMessage (const void *pData, size_t length) |
|
void | sendPacketMessage (const PacketInfo &packetInfo, const void *pPacketData, size_t packetLength, const ControlMessages &msgs) |
|
void | sendPacketMessage (const PacketInfo &packetInfo, const Utils::VectorIO &packetIO, size_t overallLength, const ControlMessages &msgs) |
|
void | sendControlMessage (const ControlMessages &msgs) |
|
Implementation of the Transport Adapter interface. Connects a Transport implemenation with its respective NEM stack.
Definition at line 52 of file transportadapterimpl.h.
◆ Protocol
◆ TransportAdapterImpl()
EMANE::Application::TransportAdapterImpl::TransportAdapterImpl |
( |
NEMId |
id | ) |
|
◆ ~TransportAdapterImpl()
EMANE::Application::TransportAdapterImpl::~TransportAdapterImpl |
( |
| ) |
|
◆ close()
void EMANE::BoundaryMessageManager::close |
( |
| ) |
|
|
inherited |
◆ configure()
◆ destroy()
void EMANE::Application::TransportAdapterImpl::destroy |
( |
| ) |
|
throw | ( | |
| ) | | |
|
overridevirtual |
◆ getBuildId()
Gets the application wide unique BuildId of this object.
- Returns
- the BuildId
Definition at line 34 of file buildable.inl.
◆ getNEMId()
NEMId EMANE::Application::TransportAdapterImpl::getNEMId |
( |
| ) |
const |
◆ initialize()
void EMANE::Application::TransportAdapterImpl::initialize |
( |
Registrar & |
registrar | ) |
|
|
overridevirtual |
◆ open()
void EMANE::BoundaryMessageManager::open |
( |
const INETAddr & |
localAddress, |
|
|
const INETAddr & |
remoteAddress, |
|
|
Protocol |
protocol |
|
) |
| |
|
inherited |
◆ postStart()
void EMANE::Application::TransportAdapterImpl::postStart |
( |
| ) |
|
|
overridevirtual |
◆ processBoundaryMessage()
void EMANE::BoundaryMessageManager::processBoundaryMessage |
( |
const void * |
pData, |
|
|
size_t |
length |
|
) |
| |
|
inherited |
◆ processDownstreamControl()
void EMANE::Application::TransportAdapterImpl::processDownstreamControl |
( |
const ControlMessages & |
msgs | ) |
|
|
virtual |
◆ processDownstreamPacket()
◆ sendControlMessage()
void EMANE::BoundaryMessageManager::sendControlMessage |
( |
const ControlMessages & |
msgs | ) |
|
|
inherited |
◆ sendPacketMessage() [1/2]
void EMANE::BoundaryMessageManager::sendPacketMessage |
( |
const PacketInfo & |
packetInfo, |
|
|
const void * |
pPacketData, |
|
|
size_t |
packetLength, |
|
|
const ControlMessages & |
msgs |
|
) |
| |
|
inherited |
◆ sendPacketMessage() [2/2]
◆ sendUpstreamControl()
void EMANE::DownstreamTransport::sendUpstreamControl |
( |
const ControlMessages & |
msgs | ) |
|
|
inlineinherited |
Send upstream control message
- Parameters
-
msgs | Reference to the ControlMessages |
Definition at line 44 of file downstreamtransport.inl.
◆ sendUpstreamPacket()
◆ setBuildId()
void EMANE::Buildable::setBuildId |
( |
BuildId |
bid | ) |
|
|
inlineinherited |
Sets the application wide unique BuildId of this object. Builders assign a BuildId to objects at instantiation.
- Parameters
-
- Note
- : This method is for internal framework use only.
Definition at line 40 of file buildable.inl.
◆ setTransport()
void EMANE::Application::TransportAdapterImpl::setTransport |
( |
std::unique_ptr< NEMLayer > & |
pTransport | ) |
|
|
overridevirtual |
◆ setUpstreamTransport()
virtual void EMANE::DownstreamTransport::setUpstreamTransport |
( |
UpstreamTransport * |
pUpstreamTransport | ) |
|
|
inlinevirtualinherited |
◆ start()
void EMANE::Application::TransportAdapterImpl::start |
( |
| ) |
|
|
overridevirtual |
◆ stop()
void EMANE::Application::TransportAdapterImpl::stop |
( |
| ) |
|
|
overridevirtual |
◆ empty
The documentation for this class was generated from the following files: