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
|
<!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: PacketSource 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>PacketSource Class Reference</h1><!-- doxytag: class="PacketSource" --><code>#include <<a class="el" href="packetSource_8h-source.html">packetSource.h</a>></code>
<p>
<p>Inheritance diagram for PacketSource:
<p><center><img src="classPacketSource.png" usemap="#PacketSource_map" border="0" alt=""></center>
<map name="PacketSource_map">
<area href="classUDPPacketSource.html" alt="UDPPacketSource" shape="rect" coords="0,56,116,80">
</map>
<a href="classPacketSource-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">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacketSource.html#fdaad665e453cf5a047935b07a050ef4">~PacketSource</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacketSource.html#95901be715656540a7273c6c0dc1234e">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)=0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPacketSource.html#ffc5eb2c89d1395443432c3cc6b7898b">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)=0</td></tr>
</table>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="fdaad665e453cf5a047935b07a050ef4"></a><!-- doxytag: member="PacketSource::~PacketSource" ref="fdaad665e453cf5a047935b07a050ef4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual PacketSource::~PacketSource </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="95901be715656540a7273c6c0dc1234e"></a><!-- doxytag: member="PacketSource::recv" ref="95901be715656540a7273c6c0dc1234e" args="(Buffer &buf, std::string &addr, u_int16_t &port)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="datatypes_8h.html#1382fcaa92d837ce7c0961788c8243d7">u_int32_t</a> PacketSource::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> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Implemented in <a class="el" href="classUDPPacketSource.html#a1f7daded0f9ead5599160bae9317eb8">UDPPacketSource</a>.
</div>
</div><p>
<a class="anchor" name="ffc5eb2c89d1395443432c3cc6b7898b"></a><!-- doxytag: member="PacketSource::send" ref="ffc5eb2c89d1395443432c3cc6b7898b" args="(Buffer &buf, std::string addr, u_int16_t port)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void PacketSource::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> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<p>
Implemented in <a class="el" href="classUDPPacketSource.html#376a3b0c861aeb7561e8a9f6866292b9">UDPPacketSource</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="packetSource_8h-source.html">packetSource.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 7 23:43:50 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>
|