|
|
| 103 |
|
103 |
|
| 104 |
/** |
104 |
/** |
| 105 |
* Create UdpClientHelper which will make life easier for people trying |
105 |
* Create UdpClientHelper which will make life easier for people trying |
| 106 |
* to set up simulations with udp-client-server. |
106 |
* to set up simulations with udp-client-server. Use this variant with |
| 107 |
* |
107 |
* addresses that do not include a port value (e.g., Ipv4Address and |
| 108 |
* \param ip The IPv4 address of the remote UDP server |
108 |
* Ipv6Address). |
| 109 |
* \param port The port number of the remote UDP server |
|
|
| 110 |
*/ |
| 111 |
|
| 112 |
UdpClientHelper (Ipv4Address ip, uint16_t port); |
| 113 |
/** |
| 114 |
* Create UdpClientHelper which will make life easier for people trying |
| 115 |
* to set up simulations with udp-client-server. |
| 116 |
* |
| 117 |
* \param ip The IPv6 address of the remote UDP server |
| 118 |
* \param port The port number of the remote UDP server |
| 119 |
*/ |
| 120 |
|
| 121 |
UdpClientHelper (Ipv6Address ip, uint16_t port); |
| 122 |
/** |
| 123 |
* Create UdpClientHelper which will make life easier for people trying |
| 124 |
* to set up simulations with udp-client-server. |
| 125 |
* |
109 |
* |
| 126 |
* \param ip The IP address of the remote UDP server |
110 |
* \param ip The IP address of the remote UDP server |
| 127 |
* \param port The port number of the remote UDP server |
111 |
* \param port The port number of the remote UDP server |
| 128 |
*/ |
112 |
*/ |
| 129 |
|
113 |
|
| 130 |
UdpClientHelper (Address ip, uint16_t port); |
114 |
UdpClientHelper (Address ip, uint16_t port); |
|
|
115 |
/** |
| 116 |
* Create UdpClientHelper which will make life easier for people trying |
| 117 |
* to set up simulations with udp-client-server. Use this variant with |
| 118 |
* addresses that do include a port value (e.g., InetSocketAddress and |
| 119 |
* Inet6SocketAddress). |
| 120 |
* |
| 121 |
* \param addr The address of the remote UDP server |
| 122 |
*/ |
| 123 |
|
| 124 |
UdpClientHelper (Address addr); |
| 131 |
|
125 |
|
| 132 |
/** |
126 |
/** |
| 133 |
* Record an attribute to be set in each Application after it is is created. |
127 |
* Record an attribute to be set in each Application after it is is created. |
|
|
| 173 |
|
167 |
|
| 174 |
/** |
168 |
/** |
| 175 |
* Create UdpTraceClientHelper which will make life easier for people trying |
169 |
* Create UdpTraceClientHelper which will make life easier for people trying |
| 176 |
* to set up simulations with udp-client-server. |
170 |
* to set up simulations with udp-client-server. Use this variant with |
|
|
171 |
* addresses that do not include a port value (e.g., Ipv4Address and |
| 172 |
* Ipv6Address). |
| 177 |
* |
173 |
* |
| 178 |
* \param ip The IP address of the remote UDP server |
174 |
* \param ip The IP address of the remote UDP server |
| 179 |
* \param port The port number of the remote UDP server |
175 |
* \param port The port number of the remote UDP server |
|
|
| 182 |
UdpTraceClientHelper (Address ip, uint16_t port, std::string filename); |
178 |
UdpTraceClientHelper (Address ip, uint16_t port, std::string filename); |
| 183 |
/** |
179 |
/** |
| 184 |
* Create UdpTraceClientHelper which will make life easier for people trying |
180 |
* Create UdpTraceClientHelper which will make life easier for people trying |
| 185 |
* to set up simulations with udp-client-server. |
181 |
* to set up simulations with udp-client-server. Use this variant with |
|
|
182 |
* addresses that do include a port value (e.g., InetSocketAddress and |
| 183 |
* Inet6SocketAddress). |
| 186 |
* |
184 |
* |
| 187 |
* \param ip The IPv4 address of the remote UDP server |
185 |
* \param addr The address of the remote UDP server |
| 188 |
* \param port The port number of the remote UDP server |
|
|
| 189 |
* \param filename the file from which packet traces will be loaded |
186 |
* \param filename the file from which packet traces will be loaded |
| 190 |
*/ |
187 |
*/ |
| 191 |
UdpTraceClientHelper (Ipv4Address ip, uint16_t port, std::string filename); |
188 |
UdpTraceClientHelper (Address addr, std::string filename); |
| 192 |
/** |
|
|
| 193 |
* Create UdpTraceClientHelper which will make life easier for people trying |
| 194 |
* to set up simulations with udp-client-server. |
| 195 |
* |
| 196 |
* \param ip The IPv6 address of the remote UDP server |
| 197 |
* \param port The port number of the remote UDP server |
| 198 |
* \param filename the file from which packet traces will be loaded |
| 199 |
*/ |
| 200 |
UdpTraceClientHelper (Ipv6Address ip, uint16_t port, std::string filename); |
| 201 |
|
189 |
|
| 202 |
/** |
190 |
/** |
| 203 |
* Record an attribute to be set in each Application after it is is created. |
191 |
* Record an attribute to be set in each Application after it is is created. |