Loading...
Searching...
No Matches
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.
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.

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 42 of file lora-network-controller-components.cc.

Referenced by ns3::LoraConfirmedMessagesComponent::GetTypeId(), and ns3::LoraLinkCheckComponent::GetTypeId().

Here is the caller graph for this function:

◆ ~LoraNetworkControllerComponent()

ns3::LoraNetworkControllerComponent::~LoraNetworkControllerComponent ( )
virtual

Definition at line 46 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 35 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::LoraAdrComponent, ns3::LoraConfirmedMessagesComponent, and ns3::LoraLinkCheckComponent.

◆ 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::LoraAdrComponent, ns3::LoraConfirmedMessagesComponent, and ns3::LoraLinkCheckComponent.


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