EMANE  1.2.1
EMANE::OTAProvider Class Referenceabstract

Interface for OTA. More...

#include <otaprovider.h>

Inheritance diagram for EMANE::OTAProvider:
EMANE::OTAManager

Public Member Functions

virtual ~OTAProvider ()
 
virtual void sendOTAPacket (NEMId id, const DownstreamPacket &pkt, const ControlMessages &msg) const =0
 
virtual void registerOTAUser (NEMId id, OTAUser *pOTAUser)=0
 
virtual void unregisterOTAUser (NEMId id)=0
 

Protected Member Functions

 OTAProvider ()
 

Detailed Description

Interface for OTA.

Definition at line 49 of file otaprovider.h.

Constructor & Destructor Documentation

◆ ~OTAProvider()

virtual EMANE::OTAProvider::~OTAProvider ( )
inlinevirtual

Definition at line 52 of file otaprovider.h.

◆ OTAProvider()

EMANE::OTAProvider::OTAProvider ( )
inlineprotected

Definition at line 87 of file otaprovider.h.

Member Function Documentation

◆ registerOTAUser()

virtual void EMANE::OTAProvider::registerOTAUser ( NEMId  id,
OTAUser pOTAUser 
)
pure virtual

Register an OTA user

Parameters
idNEM identifier
pOTAUserOTAUser reference
Exceptions
OTAEceptionwhen an error occurs during unregister

Implemented in EMANE::OTAManager.

◆ sendOTAPacket()

virtual void EMANE::OTAProvider::sendOTAPacket ( NEMId  id,
const DownstreamPacket pkt,
const ControlMessages msg 
) const
pure virtual

Send OTA packet

Parameters
idNEM identifier
pktDownstream packet
msgControl Message

Implemented in EMANE::OTAManager.

◆ unregisterOTAUser()

virtual void EMANE::OTAProvider::unregisterOTAUser ( NEMId  id)
pure virtual

Unregister an OTA user

Parameters
idNEM identifier
Exceptions
OTAEceptionwhen an error occurs during unregister

Implemented in EMANE::OTAManager.


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