branch merge
This commit is contained in:
@@ -21,7 +21,7 @@ else:
|
||||
os.environ['PYTHONPATH'] = LOCAL_PYBINDGEN_PATH
|
||||
|
||||
## https://launchpad.net/pybindgen/
|
||||
REQUIRED_PYBINDGEN_VERSION = (0, 9, 0, 563)
|
||||
REQUIRED_PYBINDGEN_VERSION = (0, 9, 0, 564)
|
||||
REQUIRED_PYGCCXML_VERSION = (0, 9, 5)
|
||||
|
||||
|
||||
|
||||
@@ -31,13 +31,34 @@
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
/**
|
||||
* \brief instanciate an ns3::OnOffApplication on a set of nodes.
|
||||
*/
|
||||
class OnOffHelper
|
||||
{
|
||||
public:
|
||||
/**
|
||||
* \param protocol the name of the protocol to use to send traffic
|
||||
* by the applications. This string identifies the socket
|
||||
* factory type used to create sockets for the applications.
|
||||
* A typical value would be ns3::UdpSocketFactory.
|
||||
* \param address the address of the remote node to send traffic
|
||||
* to.
|
||||
*/
|
||||
OnOffHelper (std::string protocol, Address address);
|
||||
|
||||
/**
|
||||
* \param name the name of the application attribute to set
|
||||
* \param value the value of the application attribute to set
|
||||
*/
|
||||
void SetAttribute (std::string name, const AttributeValue &value);
|
||||
|
||||
/**
|
||||
* \param c the set of nodes on which an OnOffApplication will be installed.
|
||||
*
|
||||
* Install an ns3::OnOffApplication on each node of the input container
|
||||
* configured with all the attributes set with SetAttribute.
|
||||
*/
|
||||
ApplicationContainer Install (NodeContainer c);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user