A Discrete-Event Network Simulator
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
16namespace 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 */
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 */
a polymophic address class
Definition address.h:90
A helper to make it easier to instantiate an application on a set of nodes.
A helper to make it easier to instantiate an ns3::BulkSendApplication on a set of nodes.
BulkSendHelper(const std::string &protocol, const Address &address)
Create an BulkSendHelper to make it easier to work with BulkSendApplications.
Every class exported by the ns3 library is enclosed in the ns3 namespace.