A Discrete-Event Network Simulator
Home
Tutorials ▼
English
Documentation ▼
Installation
Manual
Models
Contributing
Wiki
Development ▼
API Docs
Issue Tracker
Merge Requests
API
Loading...
Searching...
No Matches
bulk-send-helper.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2008 INRIA
3
*
4
* SPDX-License-Identifier: GPL-2.0-only
5
*
6
* Author: Geoge Riley <riley@ece.gatech.edu>
7
* Adapted from OnOffHelper by:
8
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
9
*/
10
11
#ifndef BULK_SEND_HELPER_H
12
#define BULK_SEND_HELPER_H
13
14
#include <ns3/application-helper.h>
15
16
namespace
ns3
17
{
18
19
/**
20
* \ingroup bulksend
21
* \brief A helper to make it easier to instantiate an ns3::BulkSendApplication
22
* on a set of nodes.
23
*/
24
class
BulkSendHelper
:
public
ApplicationHelper
25
{
26
public
:
27
/**
28
* Create an BulkSendHelper to make it easier to work with BulkSendApplications
29
*
30
* \param protocol the name of the protocol to use to send traffic
31
* by the applications. This string identifies the socket
32
* factory type used to create sockets for the applications.
33
* A typical value would be ns3::TcpSocketFactory.
34
* \param address the address of the remote node to send traffic
35
* to.
36
*/
37
BulkSendHelper
(
const
std::string& protocol,
const
Address
& address);
38
};
39
40
}
// namespace ns3
41
42
#endif
/* BULK_SEND_HELPER_H */
ns3::Address
a polymophic address class
Definition
address.h:90
ns3::ApplicationHelper
A helper to make it easier to instantiate an application on a set of nodes.
Definition
application-helper.h:28
ns3::BulkSendHelper
A helper to make it easier to instantiate an ns3::BulkSendApplication on a set of nodes.
Definition
bulk-send-helper.h:25
ns3::BulkSendHelper::BulkSendHelper
BulkSendHelper(const std::string &protocol, const Address &address)
Create an BulkSendHelper to make it easier to work with BulkSendApplications.
Definition
bulk-send-helper.cc:18
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
applications
helper
bulk-send-helper.h
Generated on Fri Nov 8 2024 13:58:59 for ns-3 by
1.11.0