This class can install Network Server applications on multiple nodes at once. More...
#include "lora-network-server-helper.h"
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... | |
This class can install Network Server applications on multiple nodes at once.
Definition at line 44 of file lora-network-server-helper.h.
ns3::LoraNetworkServerHelper::LoraNetworkServerHelper | ( | ) |
Definition at line 54 of file lora-network-server-helper.cc.
References m_factory, p2pHelper, and SetAdr().
ns3::LoraNetworkServerHelper::~LoraNetworkServerHelper | ( | ) |
Definition at line 62 of file lora-network-server-helper.cc.
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.
|
static |
Get the type ID.
Definition at line 46 of file lora-network-server-helper.cc.
ApplicationContainer ns3::LoraNetworkServerHelper::Install | ( | NodeContainer | c | ) |
Definition at line 79 of file lora-network-server-helper.cc.
References InstallPriv().
ApplicationContainer ns3::LoraNetworkServerHelper::Install | ( | Ptr< Node > | node | ) |
Definition at line 73 of file lora-network-server-helper.cc.
References InstallPriv().
|
private |
Definition at line 146 of file lora-network-server-helper.cc.
References m_adrEnabled, and m_adrSupportFactory.
Referenced by InstallPriv().
|
private |
Definition at line 91 of file lora-network-server-helper.cc.
References InstallComponents(), m_factory, p2pHelper, and ns3::LoraNetworkServer::Receive().
Referenced by Install().
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().
void ns3::LoraNetworkServerHelper::SetAttribute | ( | std::string | name, |
const AttributeValue & | value | ||
) |
Definition at line 67 of file lora-network-server-helper.cc.
References m_factory.
|
private |
Definition at line 83 of file lora-network-server-helper.h.
Referenced by EnableAdr(), and InstallComponents().
|
private |
Definition at line 85 of file lora-network-server-helper.h.
Referenced by InstallComponents(), and SetAdr().
|
private |
Definition at line 79 of file lora-network-server-helper.h.
Referenced by LoraNetworkServerHelper(), InstallPriv(), and SetAttribute().
|
private |
Helper to create PointToPoint links.
Definition at line 81 of file lora-network-server-helper.h.
Referenced by LoraNetworkServerHelper(), and InstallPriv().