9#ifndef NETWORK_CONTROLLER_COMPONENTS_H
10#define NETWORK_CONTROLLER_COMPONENTS_H
15#include "ns3/object.h"
16#include "ns3/packet.h"
A base class which provides memory management and object aggregation.
Smart pointer class similar to boost::intrusive_ptr.
a unique identifier for an interface.
Network controller component for acknowledgments management.
void BeforeSendingReply(Ptr< EndDeviceStatus > status, Ptr< NetworkStatus > networkStatus) override
Function called as a downlink reply is about to leave the NetworkServer application.
void OnFailedReply(Ptr< EndDeviceStatus > status, Ptr< NetworkStatus > networkStatus) override
Method that is called when a packet cannot be sent in the downlink.
~ConfirmedMessagesComponent() override
Destructor.
static TypeId GetTypeId()
Register this type.
ConfirmedMessagesComponent()
Default constructor.
void OnReceivedPacket(Ptr< const Packet > packet, Ptr< EndDeviceStatus > status, Ptr< NetworkStatus > networkStatus) override
This method checks whether the received packet requires an acknowledgment and sets up the appropriate...
Network controller component for LinkCheck commands management.
~LinkCheckComponent() override
Destructor.
void OnReceivedPacket(Ptr< const Packet > packet, Ptr< EndDeviceStatus > status, Ptr< NetworkStatus > networkStatus) override
This method checks whether the received packet requires an acknowledgment and sets up the appropriate...
void OnFailedReply(Ptr< EndDeviceStatus > status, Ptr< NetworkStatus > networkStatus) override
Method that is called when a packet cannot be sent in the downlink.
static TypeId GetTypeId()
Register this type.
LinkCheckComponent()
Default constructor.
void BeforeSendingReply(Ptr< EndDeviceStatus > status, Ptr< NetworkStatus > networkStatus) override
Function called as a downlink reply is about to leave the NetworkServer application.
Generic class describing a component of the NetworkController.
static TypeId GetTypeId()
Register this type.
virtual void BeforeSendingReply(Ptr< EndDeviceStatus > status, Ptr< NetworkStatus > networkStatus)=0
Function called as a downlink reply is about to leave the NetworkServer application.
virtual void OnReceivedPacket(Ptr< const Packet > packet, Ptr< EndDeviceStatus > status, Ptr< NetworkStatus > networkStatus)=0
Function called as a new uplink packet is received by the NetworkServer application.
NetworkControllerComponent()
Default constructor.
virtual void OnFailedReply(Ptr< EndDeviceStatus > status, Ptr< NetworkStatus > networkStatus)=0
Method that is called when a packet cannot be sent in the downlink.
~NetworkControllerComponent() override
Destructor.
Every class exported by the ns3 library is enclosed in the ns3 namespace.