Public Member Functions

ns3::PacketSocketHelper Class Reference

Give ns3::PacketSocket powers to ns3::Node. More...

#include <packet-socket-helper.h>

List of all members.

Public Member Functions

void Install (Ptr< Node > node) const
void Install (std::string nodeName) const
void Install (NodeContainer c) const

Detailed Description

Give ns3::PacketSocket powers to ns3::Node.


Member Function Documentation

void ns3::PacketSocketHelper::Install ( Ptr< Node node  )  const

Aggregate an instance of a ns3::PacketSocketFactory onto the provided node.

Parameters:
node Node on which to aggregate the ns3::PacketSocketFactory.
void ns3::PacketSocketHelper::Install ( NodeContainer  c  )  const

For each node in the provided container, aggregate an instance of a ns3::PacketSocketFactory.

Parameters:
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.

Parameters:
nodeName The name of the node on which to aggregate the ns3::PacketSocketFactory.

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