ns3::LoraNetworkControllerComponent Class Referenceabstract

Generic class describing a component of the NetworkController. More...

#include "lora-network-controller-components.h"

+ Inheritance diagram for ns3::LoraNetworkControllerComponent:
+ Collaboration diagram for ns3::LoraNetworkControllerComponent:

Public Member Functions

 LoraNetworkControllerComponent ()
 
virtual ~LoraNetworkControllerComponent ()
 
virtual void BeforeSendingReply (Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus)=0
 
virtual void OnFailedReply (Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus)=0
 Method that is called when a packet cannot be sent in the downlink. More...
 
virtual void OnReceivedPacket (Ptr< const Packet > packet, Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus)=0
 Method that is called when a new packet is received by the NetworkServer. More...
 

Static Public Member Functions

static TypeId GetTypeId (void)
 

Detailed Description

Generic class describing a component of the NetworkController.

This is the class that is meant to be extended by all NetworkController components, and provides a common interface for the NetworkController to query available components and prompt them to act on new packet arrivals.

Definition at line 48 of file lora-network-controller-components.h.

Constructor & Destructor Documentation

◆ LoraNetworkControllerComponent()

ns3::LoraNetworkControllerComponent::LoraNetworkControllerComponent ( )

Definition at line 40 of file lora-network-controller-components.cc.

◆ ~LoraNetworkControllerComponent()

ns3::LoraNetworkControllerComponent::~LoraNetworkControllerComponent ( )
virtual

Definition at line 44 of file lora-network-controller-components.cc.

Member Function Documentation

◆ BeforeSendingReply()

virtual void ns3::LoraNetworkControllerComponent::BeforeSendingReply ( Ptr< LoraEndDeviceStatus status,
Ptr< LoraNetworkStatus networkStatus 
)
pure virtual

◆ GetTypeId()

TypeId ns3::LoraNetworkControllerComponent::GetTypeId ( void  )
static

Definition at line 33 of file lora-network-controller-components.cc.

◆ OnFailedReply()

virtual void ns3::LoraNetworkControllerComponent::OnFailedReply ( Ptr< LoraEndDeviceStatus status,
Ptr< LoraNetworkStatus networkStatus 
)
pure virtual

Method that is called when a packet cannot be sent in the downlink.

Parameters
statusThe EndDeviceStatus of the device to which it was impossible to send a reply.
networkStatusA pointer to the NetworkStatus object

Implemented in ns3::LoraLinkCheckComponent, ns3::LoraConfirmedMessagesComponent, and ns3::LoraAdrComponent.

◆ OnReceivedPacket()

virtual void ns3::LoraNetworkControllerComponent::OnReceivedPacket ( Ptr< const Packet >  packet,
Ptr< LoraEndDeviceStatus status,
Ptr< LoraNetworkStatus networkStatus 
)
pure virtual

Method that is called when a new packet is received by the NetworkServer.

Parameters
packetThe newly received packet
networkStatusA pointer to the NetworkStatus object

Implemented in ns3::LoraLinkCheckComponent, ns3::LoraConfirmedMessagesComponent, and ns3::LoraAdrComponent.


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