#include <packet-socket-helper.h>
Public Member Functions | |
void | Install (Ptr< Node > node) const |
void | Install (std::string nodeName) const |
void | Install (NodeContainer c) const |
void ns3::PacketSocketHelper::Install | ( | NodeContainer | c | ) | const |
For each node in the provided container, aggregate an instance of a ns3::PacketSocketFactory.
c | NodeContainer of the set of nodes to aggregate the ns3::PacketSocketFactory on. |
void ns3::PacketSocketHelper::Install | ( | std::string | nodeName | ) | const |
Aggregate an instance of a ns3::PacketSocketFactory onto the provided node.
nodeName | The name of the node on which to aggregate the ns3::PacketSocketFactory. |
Aggregate an instance of a ns3::PacketSocketFactory onto the provided node.
node | Node on which to aggregate the ns3::PacketSocketFactory. |