#include <packet-sink-helper.h>
Public Member Functions | |
PacketSinkHelper (std::string protocol, Address address) | |
void | SetAttribute (std::string name, const AttributeValue &value) |
ApplicationContainer | Install (NodeContainer c) const |
ApplicationContainer | Install (Ptr< Node > node) const |
Private Member Functions | |
Ptr< Application > | InstallPriv (Ptr< Node > node) const |
Private Attributes | |
ObjectFactory | m_factory |
Definition at line 30 of file packet-sink-helper.h.
ns3::PacketSinkHelper::PacketSinkHelper | ( | std::string | protocol, | |
Address | address | |||
) |
Definition at line 24 of file packet-sink-helper.cc.
References m_factory, ns3::ObjectFactory::Set(), and ns3::ObjectFactory::SetTypeId().
ApplicationContainer ns3::PacketSinkHelper::Install | ( | Ptr< Node > | node | ) | const |
Install an ns3::PacketSinkApplication on each node of the input container configured with all the attributes set with SetAttribute.
c | The node on which a PacketSinkApplication will be installed. |
Definition at line 54 of file packet-sink-helper.cc.
References InstallPriv().
ApplicationContainer ns3::PacketSinkHelper::Install | ( | NodeContainer | c | ) | const |
Install an ns3::PacketSinkApplication on each node of the input container configured with all the attributes set with SetAttribute.
c | NodeContainer of the set of nodes on which a PacketSinkApplication will be installed. |
Definition at line 60 of file packet-sink-helper.cc.
Ptr< Application > ns3::PacketSinkHelper::InstallPriv | ( | Ptr< Node > | node | ) | const [private] |
Definition at line 72 of file packet-sink-helper.cc.
Referenced by Install().
void ns3::PacketSinkHelper::SetAttribute | ( | std::string | name, | |
const AttributeValue & | value | |||
) |
Definition at line 32 of file packet-sink-helper.cc.
Definition at line 56 of file packet-sink-helper.h.
Referenced by PacketSinkHelper().