1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>anytun: UDPPacketSource Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<h1>UDPPacketSource Class Reference</h1><!-- doxytag: class="UDPPacketSource" --><!-- doxytag: inherits="PacketSource,UDPSocket" --><code>#include <<a class="el" href="packetSource_8h-source.html">packetSource.h</a>></code>
<p>
<p>Inheritance diagram for UDPPacketSource:
<p><center><img src="classUDPPacketSource.png" usemap="#UDPPacketSource_map" border="0" alt=""></center>
<map name="UDPPacketSource_map">
<area href="classPacketSource.html" alt="PacketSource" shape="rect" coords="0,112,135,136">
<area href="classUDPSocket.html" alt="UDPSocket" shape="rect" coords="145,112,280,136">
<area href="classCommunicatingSocket.html" alt="CommunicatingSocket" shape="rect" coords="145,56,280,80">
<area href="classSocket.html" alt="Socket" shape="rect" coords="145,0,280,24">
</map>
<a href="classUDPPacketSource-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPPacketSource.html#1dda248d4d7b03cb8301557271abc40e">UDPPacketSource</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPPacketSource.html#b9fd5944db99fd0f89c12b0d74ba5e74">UDPPacketSource</a> (<a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPPacketSource.html#1cc870353b550b79f9161cfac41f26fa">UDPPacketSource</a> (std::string localaddr, <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPPacketSource.html#a1f7daded0f9ead5599160bae9317eb8">recv</a> (<a class="el" href="classBuffer.html">Buffer</a> &buf, std::string &addr, <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> &port)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classUDPPacketSource.html#376a3b0c861aeb7561e8a9f6866292b9">send</a> (<a class="el" href="classBuffer.html">Buffer</a> &buf, std::string addr, <a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> port)</td></tr>
</table>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="1dda248d4d7b03cb8301557271abc40e"></a><!-- doxytag: member="UDPPacketSource::UDPPacketSource" ref="1dda248d4d7b03cb8301557271abc40e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UDPPacketSource::UDPPacketSource </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="b9fd5944db99fd0f89c12b0d74ba5e74"></a><!-- doxytag: member="UDPPacketSource::UDPPacketSource" ref="b9fd5944db99fd0f89c12b0d74ba5e74" args="(u_int16_t port)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UDPPacketSource::UDPPacketSource </td>
<td>(</td>
<td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td>
<td class="paramname"> <em>port</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="1cc870353b550b79f9161cfac41f26fa"></a><!-- doxytag: member="UDPPacketSource::UDPPacketSource" ref="1cc870353b550b79f9161cfac41f26fa" args="(std::string localaddr, u_int16_t port)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">UDPPacketSource::UDPPacketSource </td>
<td>(</td>
<td class="paramtype">std::string </td>
<td class="paramname"> <em>localaddr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td>
<td class="paramname"> <em>port</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a1f7daded0f9ead5599160bae9317eb8"></a><!-- doxytag: member="UDPPacketSource::recv" ref="a1f7daded0f9ead5599160bae9317eb8" args="(Buffer &buf, std::string &addr, u_int16_t &port)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> UDPPacketSource::recv </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td>
<td class="paramname"> <em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string & </td>
<td class="paramname"> <em>addr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> & </td>
<td class="paramname"> <em>port</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Implements <a class="el" href="classPacketSource.html#95901be715656540a7273c6c0dc1234e">PacketSource</a>.
</div>
</div><p>
<a class="anchor" name="376a3b0c861aeb7561e8a9f6866292b9"></a><!-- doxytag: member="UDPPacketSource::send" ref="376a3b0c861aeb7561e8a9f6866292b9" args="(Buffer &buf, std::string addr, u_int16_t port)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void UDPPacketSource::send </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classBuffer.html">Buffer</a> & </td>
<td class="paramname"> <em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::string </td>
<td class="paramname"> <em>addr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="datatypes_8h.html#3aa89f830bb876725b238e6a2a67a809">u_int16_t</a> </td>
<td class="paramname"> <em>port</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Implements <a class="el" href="classPacketSource.html#ffc5eb2c89d1395443432c3cc6b7898b">PacketSource</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="packetSource_8h-source.html">packetSource.h</a><li><a class="el" href="packetSource_8cpp.html">packetSource.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 3 11:49:25 2007 for anytun by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>
|