A Discrete-Event Network Simulator
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
31namespace ns3
32{
33
34/**
35 * \ingroup applications
36 * Helper to make it easier to instantiate an ThreeGppHttpClient on a set of nodes.
37 */
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 */
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 */
a polymophic address class
Definition: address.h:101
A helper to make it easier to instantiate an application on a set of nodes.
Helper to make it easier to instantiate an ThreeGppHttpClient on a set of nodes.
Helper to make it easier to instantiate an ThreeGppHttpServer on a set of nodes.
Every class exported by the ns3 library is enclosed in the ns3 namespace.