ns3::LoraNetworkServerHelper Class Reference

This class can install Network Server applications on multiple nodes at once. More...

#include "lora-network-server-helper.h"

+ Inheritance diagram for ns3::LoraNetworkServerHelper:
+ Collaboration diagram for ns3::LoraNetworkServerHelper:

Public Member Functions

 LoraNetworkServerHelper ()
 
 ~LoraNetworkServerHelper ()
 
void EnableAdr (bool enableAdr)
 Enable (true) or disable (false) the ADR component in the Network Server created by this helper. More...
 
ApplicationContainer Install (NodeContainer c)
 
ApplicationContainer Install (Ptr< Node > node)
 
void SetAdr (std::string type)
 Set the ADR implementation to use in the Network Server created by this helper. More...
 
void SetAttribute (std::string name, const AttributeValue &value)
 

Static Public Member Functions

static TypeId GetTypeId (void)
 Get the type ID. More...
 

Private Member Functions

void InstallComponents (Ptr< LoraNetworkServer > netServer)
 
Ptr< Application > InstallPriv (Ptr< Node > node)
 

Private Attributes

bool m_adrEnabled
 
ObjectFactory m_adrSupportFactory
 
ObjectFactory m_factory
 
PointToPointHelper p2pHelper
 Helper to create PointToPoint links. More...
 

Detailed Description

This class can install Network Server applications on multiple nodes at once.

Definition at line 44 of file lora-network-server-helper.h.

Constructor & Destructor Documentation

◆ LoraNetworkServerHelper()

ns3::LoraNetworkServerHelper::LoraNetworkServerHelper ( )

Definition at line 54 of file lora-network-server-helper.cc.

References m_factory, p2pHelper, and SetAdr().

+ Here is the call graph for this function:

◆ ~LoraNetworkServerHelper()

ns3::LoraNetworkServerHelper::~LoraNetworkServerHelper ( )

Definition at line 62 of file lora-network-server-helper.cc.

Member Function Documentation

◆ EnableAdr()

void ns3::LoraNetworkServerHelper::EnableAdr ( bool  enableAdr)

Enable (true) or disable (false) the ADR component in the Network Server created by this helper.

Definition at line 129 of file lora-network-server-helper.cc.

References m_adrEnabled.

◆ GetTypeId()

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

Get the type ID.

Returns
the object TypeId

Definition at line 46 of file lora-network-server-helper.cc.

◆ Install() [1/2]

ApplicationContainer ns3::LoraNetworkServerHelper::Install ( NodeContainer  c)

Definition at line 79 of file lora-network-server-helper.cc.

References InstallPriv().

+ Here is the call graph for this function:

◆ Install() [2/2]

ApplicationContainer ns3::LoraNetworkServerHelper::Install ( Ptr< Node >  node)

Definition at line 73 of file lora-network-server-helper.cc.

References InstallPriv().

+ Here is the call graph for this function:

◆ InstallComponents()

void ns3::LoraNetworkServerHelper::InstallComponents ( Ptr< LoraNetworkServer netServer)
private

Definition at line 146 of file lora-network-server-helper.cc.

References m_adrEnabled, and m_adrSupportFactory.

Referenced by InstallPriv().

+ Here is the caller graph for this function:

◆ InstallPriv()

Ptr< Application > ns3::LoraNetworkServerHelper::InstallPriv ( Ptr< Node >  node)
private

Definition at line 91 of file lora-network-server-helper.cc.

References InstallComponents(), m_factory, p2pHelper, and ns3::LoraNetworkServer::Receive().

Referenced by Install().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetAdr()

void ns3::LoraNetworkServerHelper::SetAdr ( std::string  type)

Set the ADR implementation to use in the Network Server created by this helper.

Definition at line 137 of file lora-network-server-helper.cc.

References m_adrSupportFactory.

Referenced by LoraNetworkServerHelper().

+ Here is the caller graph for this function:

◆ SetAttribute()

void ns3::LoraNetworkServerHelper::SetAttribute ( std::string  name,
const AttributeValue &  value 
)

Definition at line 67 of file lora-network-server-helper.cc.

References m_factory.

Member Data Documentation

◆ m_adrEnabled

bool ns3::LoraNetworkServerHelper::m_adrEnabled
private

Definition at line 83 of file lora-network-server-helper.h.

Referenced by EnableAdr(), and InstallComponents().

◆ m_adrSupportFactory

ObjectFactory ns3::LoraNetworkServerHelper::m_adrSupportFactory
private

Definition at line 85 of file lora-network-server-helper.h.

Referenced by InstallComponents(), and SetAdr().

◆ m_factory

ObjectFactory ns3::LoraNetworkServerHelper::m_factory
private

Definition at line 79 of file lora-network-server-helper.h.

Referenced by LoraNetworkServerHelper(), InstallPriv(), and SetAttribute().

◆ p2pHelper

PointToPointHelper ns3::LoraNetworkServerHelper::p2pHelper
private

Helper to create PointToPoint links.

Definition at line 81 of file lora-network-server-helper.h.

Referenced by LoraNetworkServerHelper(), and InstallPriv().


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