23 #ifndef LORA_NETWORK_CONTROLLER_COMPONENTS_H
24 #define LORA_NETWORK_CONTROLLER_COMPONENTS_H
29 #include <ns3/object.h>
30 #include <ns3/packet.h>
35 class LoraNetworkStatus;
65 Ptr<LoraEndDeviceStatus> status,
66 Ptr<LoraNetworkStatus> networkStatus) = 0;
69 Ptr<LoraNetworkStatus> networkStatus) = 0;
79 Ptr<LoraNetworkStatus> networkStatus) = 0;
103 Ptr<LoraEndDeviceStatus> status,
104 Ptr<LoraNetworkStatus> networkStatus);
106 void BeforeSendingReply(Ptr<LoraEndDeviceStatus> status, Ptr<LoraNetworkStatus> networkStatus);
108 void OnFailedReply(Ptr<LoraEndDeviceStatus> status, Ptr<LoraNetworkStatus> networkStatus);
132 Ptr<LoraEndDeviceStatus> status,
133 Ptr<LoraNetworkStatus> networkStatus);
135 void BeforeSendingReply(Ptr<LoraEndDeviceStatus> status, Ptr<LoraNetworkStatus> networkStatus);
137 void OnFailedReply(Ptr<LoraEndDeviceStatus> status, Ptr<LoraNetworkStatus> networkStatus);
void OnFailedReply(Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus)
Method that is called when a packet cannot be sent in the downlink.
void BeforeSendingReply(Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus)
static TypeId GetTypeId(void)
LoraConfirmedMessagesComponent()
void OnReceivedPacket(Ptr< const Packet > packet, Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus)
This method checks whether the received packet requires an acknowledgment and sets up the appropriate...
virtual ~LoraConfirmedMessagesComponent()
virtual ~LoraLinkCheckComponent()
void UpdateLinkCheckAns(Ptr< const Packet > packet, Ptr< LoraEndDeviceStatus > status)
void OnReceivedPacket(Ptr< const Packet > packet, Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus)
This method checks whether the received packet requires an acknowledgment and sets up the appropriate...
static TypeId GetTypeId(void)
void OnFailedReply(Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus)
Method that is called when a packet cannot be sent in the downlink.
void BeforeSendingReply(Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus)
Generic class describing a component of the NetworkController.
static TypeId GetTypeId(void)
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.
virtual ~LoraNetworkControllerComponent()
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.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.