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) |
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.
| ns3::LoraNetworkControllerComponent::LoraNetworkControllerComponent | ( | ) |
Definition at line 42 of file lora-network-controller-components.cc.
|
virtual |
Definition at line 46 of file lora-network-controller-components.cc.
|
pure virtual |
Implemented in ns3::LoraLinkCheckComponent, ns3::LoraConfirmedMessagesComponent, and ns3::LoraAdrComponent.
|
static |
Definition at line 35 of file lora-network-controller-components.cc.
|
pure virtual |
Method that is called when a packet cannot be sent in the downlink.
| status | The EndDeviceStatus of the device to which it was impossible to send a reply. |
| networkStatus | A pointer to the NetworkStatus object |
Implemented in ns3::LoraLinkCheckComponent, ns3::LoraConfirmedMessagesComponent, and ns3::LoraAdrComponent.
|
pure virtual |
Method that is called when a new packet is received by the NetworkServer.
| packet | The newly received packet |
| networkStatus | A pointer to the NetworkStatus object |
Implemented in ns3::LoraLinkCheckComponent, ns3::LoraConfirmedMessagesComponent, and ns3::LoraAdrComponent.