EMANE  1.2.1
EMANE::BoundaryMessageManager Class Referenceabstract

#include <boundarymessagemanager.h>

Inheritance diagram for EMANE::BoundaryMessageManager:
EMANE::Application::TransportAdapterImpl EMANE::NEMNetworkAdapter

Public Types

enum  Protocol { Protocol::PROTOCOL_UDP, Protocol::PROTOCOL_TCP_SERVER, Protocol::PROTOCOL_TCP_CLIENT }
 

Public Member Functions

virtual ~BoundaryMessageManager ()
 
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)
 

Protected Member Functions

 BoundaryMessageManager (NEMId id)
 
virtual void doProcessPacketMessage (const PacketInfo &, const void *pPacketData, size_t packetLength, const ControlMessages &msgs)=0
 
virtual void doProcessControlMessage (const ControlMessages &msgs)=0
 

Detailed Description

Definition at line 49 of file boundarymessagemanager.h.

Member Enumeration Documentation

◆ Protocol

Enumerator
PROTOCOL_UDP 
PROTOCOL_TCP_SERVER 
PROTOCOL_TCP_CLIENT 

Definition at line 54 of file boundarymessagemanager.h.

Constructor & Destructor Documentation

◆ ~BoundaryMessageManager()

EMANE::BoundaryMessageManager::~BoundaryMessageManager ( )
virtual

Definition at line 58 of file boundarymessagemanager.cc.

◆ BoundaryMessageManager()

EMANE::BoundaryMessageManager::BoundaryMessageManager ( NEMId  id)
protected

Definition at line 50 of file boundarymessagemanager.cc.

Member Function Documentation

◆ close()

void EMANE::BoundaryMessageManager::close ( )

Definition at line 118 of file boundarymessagemanager.cc.

◆ doProcessControlMessage()

virtual void EMANE::BoundaryMessageManager::doProcessControlMessage ( const ControlMessages msgs)
protectedpure virtual

◆ doProcessPacketMessage()

virtual void EMANE::BoundaryMessageManager::doProcessPacketMessage ( const PacketInfo ,
const void *  pPacketData,
size_t  packetLength,
const ControlMessages msgs 
)
protectedpure virtual

◆ open()

void EMANE::BoundaryMessageManager::open ( const INETAddr localAddress,
const INETAddr remoteAddress,
Protocol  protocol 
)
Exceptions
BoundaryMessageManagerException

Definition at line 66 of file boundarymessagemanager.cc.

◆ processBoundaryMessage()

void EMANE::BoundaryMessageManager::processBoundaryMessage ( const void *  pData,
size_t  length 
)

◆ sendControlMessage()

void EMANE::BoundaryMessageManager::sendControlMessage ( const ControlMessages msgs)

Definition at line 253 of file boundarymessagemanager.cc.

◆ sendPacketMessage() [1/2]

void EMANE::BoundaryMessageManager::sendPacketMessage ( const PacketInfo packetInfo,
const void *  pPacketData,
size_t  packetLength,
const ControlMessages msgs 
)

Definition at line 148 of file boundarymessagemanager.cc.

◆ sendPacketMessage() [2/2]

void EMANE::BoundaryMessageManager::sendPacketMessage ( const PacketInfo packetInfo,
const Utils::VectorIO packetIO,
size_t  overallLength,
const ControlMessages msgs 
)

Definition at line 160 of file boundarymessagemanager.cc.


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