ns3::PacketSinkHelper Class Reference

#include <packet-sink-helper.h>

Collaboration diagram for ns3::PacketSinkHelper:
Collaboration graph
[legend]

List of all members.

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< ApplicationInstallPriv (Ptr< Node > node) const

Private Attributes

ObjectFactory m_factory

Detailed Description

Definition at line 30 of file packet-sink-helper.h.


Constructor & Destructor Documentation

ns3::PacketSinkHelper::PacketSinkHelper ( std::string  protocol,
Address  address 
)

Member Function Documentation

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.

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

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


Member Data Documentation

Definition at line 56 of file packet-sink-helper.h.

Referenced by PacketSinkHelper().


The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:11:33 2009 for NS-3 by  doxygen 1.6.3