Public Member Functions

ns3::V4PingHelper Class Reference

create a pinger application and associate it to a node More...

#include <v4ping-helper.h>

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

List of all members.

Public Member Functions

 V4PingHelper (Ipv4Address remote)
ApplicationContainer Install (NodeContainer nodes) const
ApplicationContainer Install (Ptr< Node > node) const
ApplicationContainer Install (std::string nodeName) const
void SetAttribute (std::string name, const AttributeValue &value)
 Configure ping applications attribute.

Detailed Description

create a pinger application and associate it to a node

This class creates one or multiple instances of ns3::V4Ping and associates it/them to one/multiple node(s).


Constructor & Destructor Documentation

ns3::V4PingHelper::V4PingHelper ( Ipv4Address  remote  ) 

Create a V4PingHelper which is used to make life easier for people wanting to use ping Applications.

Parameters:
remote The address which should be pinged

Member Function Documentation

ApplicationContainer ns3::V4PingHelper::Install ( NodeContainer  nodes  )  const

Install a pinger application on each Node in the provided NodeContainer.

Parameters:
nodes The NodeContainer containing all of the nodes to get a V4Ping application.
Returns:
A list of pinger applications, one for each input node
ApplicationContainer ns3::V4PingHelper::Install ( Ptr< Node node  )  const

Install a pinger application on the provided Node. The Node is specified directly by a Ptr<Node>

Parameters:
node The node to install the V4PingApplication on.
Returns:
An ApplicationContainer holding the pinger application created.
ApplicationContainer ns3::V4PingHelper::Install ( std::string  nodeName  )  const

Install a pinger application on the provided Node. The Node is specified by a string that must have previously been associated with a Node using the Object Name Service.

Parameters:
nodeName The node to install the V4PingApplication on.
Returns:
An ApplicationContainer holding the pinger application created.
void ns3::V4PingHelper::SetAttribute ( std::string  name,
const AttributeValue value 
)

Configure ping applications attribute.

Parameters:
name attribute's name
value attribute's value

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