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
three-gpp-http-helper.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2008 INRIA
3
* Copyright (c) 2013 Magister Solutions
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation;
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
*
18
* Original work author (from packet-sink-helper.cc):
19
* - Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
20
*
21
* Converted to HTTP web browsing traffic models by:
22
* - Budiarto Herman <budiarto.herman@magister.fi>
23
*
24
*/
25
26
#ifndef THREE_GPP_HTTP_HELPER_H
27
#define THREE_GPP_HTTP_HELPER_H
28
29
#include <ns3/application-helper.h>
30
31
namespace
ns3
32
{
33
34
/**
35
* \ingroup applications
36
* Helper to make it easier to instantiate an ThreeGppHttpClient on a set of nodes.
37
*/
38
class
ThreeGppHttpClientHelper
:
public
ApplicationHelper
39
{
40
public
:
41
/**
42
* Create a ThreeGppHttpClientHelper to make it easier to work with ThreeGppHttpClient
43
* applications.
44
* \param address The address of the remote server node to send traffic to.
45
*/
46
ThreeGppHttpClientHelper
(
const
Address
& address);
47
};
// end of `class ThreeGppHttpClientHelper`
48
49
/**
50
* \ingroup http
51
* Helper to make it easier to instantiate an ThreeGppHttpServer on a set of nodes.
52
*/
53
class
ThreeGppHttpServerHelper
:
public
ApplicationHelper
54
{
55
public
:
56
/**
57
* Create a ThreeGppHttpServerHelper to make it easier to work with
58
* ThreeGppHttpServer applications.
59
* \param address The address of the server.
60
*/
61
ThreeGppHttpServerHelper
(
const
Address
& address);
62
};
// end of `class ThreeGppHttpServerHelper`
63
64
}
// namespace ns3
65
66
#endif
/* THREE_GPP_HTTP_HELPER_H */
ns3::Address
a polymophic address class
Definition:
address.h:101
ns3::ApplicationHelper
A helper to make it easier to instantiate an application on a set of nodes.
Definition:
application-helper.h:39
ns3::ThreeGppHttpClientHelper
Helper to make it easier to instantiate an ThreeGppHttpClient on a set of nodes.
Definition:
three-gpp-http-helper.h:39
ns3::ThreeGppHttpServerHelper
Helper to make it easier to instantiate an ThreeGppHttpServer on a set of nodes.
Definition:
three-gpp-http-helper.h:54
ns3
Every class exported by the ns3 library is enclosed in the ns3 namespace.
src
applications
helper
three-gpp-http-helper.h
Generated on Tue May 28 2024 23:34:06 for ns-3 by
1.9.6