]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - docs/module-doc/classconnection.html
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2578 e03df62e-2008...
[user/henk/code/inspircd.git] / docs / module-doc / classconnection.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>InspIRCd: connection Class Reference</title>
4 <link href="inspircd.doxygen.css" rel="stylesheet" type="text/css">
5 </head><body>
6 <!-- Generated by Doxygen 1.4.4-20050815 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
8 <h1>connection Class Reference</h1><!-- doxytag: class="connection" --><!-- doxytag: inherits="Extensible" -->Please note: classes serverrec and userrec both inherit from class connection.  
9 <a href="#_details">More...</a>
10 <p>
11 <code>#include &lt;<a class="el" href="connection_8h-source.html">connection.h</a>&gt;</code>
12 <p>
13 Inheritance diagram for connection:<p><center><img src="classconnection__inherit__graph.gif" border="0" usemap="#connection__inherit__map" alt="Inheritance graph"></center>
14 <map name="connection__inherit__map">
15 <area href="classuserrec.html" shape="rect" coords="16,231,83,257" alt="">
16 <area href="classExtensible.html" shape="rect" coords="8,81,91,108" alt="">
17 <area href="classclassbase.html" shape="rect" coords="10,7,90,33" alt="">
18 </map>
19 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for connection:<p><center><img src="classconnection__coll__graph.gif" border="0" usemap="#connection__coll__map" alt="Collaboration graph"></center>
20 <map name="connection__coll__map">
21 <area href="classExtensible.html" shape="rect" coords="86,236,168,263" alt="">
22 <area href="classclassbase.html" shape="rect" coords="68,97,148,124" alt="">
23 </map>
24 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classconnection-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
25 <tr><td></td></tr>
26 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
27 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#connection_28_29">connection</a> ()</td></tr>
28
29 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor.  <a href="#connection_28_29"></a><br></td></tr>
30 <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
31 <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#fd">fd</a></td></tr>
32
33 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">File descriptor of the connection.  <a href="#fd"></a><br></td></tr>
34 <tr><td class="memItemLeft" nowrap align="right" valign="top">char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#host_5B_31_36_30_5D">host</a> [160]</td></tr>
35
36 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Hostname of connection.  <a href="#host_5B_31_36_30_5D"></a><br></td></tr>
37 <tr><td class="memItemLeft" nowrap align="right" valign="top">char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#ip_5B_31_36_5D">ip</a> [16]</td></tr>
38
39 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">IP of connection.  <a href="#ip_5B_31_36_5D"></a><br></td></tr>
40 <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#bytes_5Fin">bytes_in</a></td></tr>
41
42 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stats counter for bytes inbound.  <a href="#bytes_5Fin"></a><br></td></tr>
43 <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#bytes_5Fout">bytes_out</a></td></tr>
44
45 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stats counter for bytes outbound.  <a href="#bytes_5Fout"></a><br></td></tr>
46 <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#cmds_5Fin">cmds_in</a></td></tr>
47
48 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stats counter for commands inbound.  <a href="#cmds_5Fin"></a><br></td></tr>
49 <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#cmds_5Fout">cmds_out</a></td></tr>
50
51 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Stats counter for commands outbound.  <a href="#cmds_5Fout"></a><br></td></tr>
52 <tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#haspassed">haspassed</a></td></tr>
53
54 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if server/user has authenticated, false if otherwise.  <a href="#haspassed"></a><br></td></tr>
55 <tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#port">port</a></td></tr>
56
57 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Port number For a userrec, this is the port they connected to the network on.  <a href="#port"></a><br></td></tr>
58 <tr><td class="memItemLeft" nowrap align="right" valign="top">char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#registered">registered</a></td></tr>
59
60 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used by userrec to indicate the registration status of the connection.  <a href="#registered"></a><br></td></tr>
61 <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#lastping">lastping</a></td></tr>
62
63 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Time the connection was last pinged.  <a href="#lastping"></a><br></td></tr>
64 <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#signon">signon</a></td></tr>
65
66 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Time the connection was created, set in the constructor.  <a href="#signon"></a><br></td></tr>
67 <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#idle_5Flastmsg">idle_lastmsg</a></td></tr>
68
69 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Time that the connection last sent data, used to calculate idle time.  <a href="#idle_5Flastmsg"></a><br></td></tr>
70 <tr><td class="memItemLeft" nowrap align="right" valign="top">time_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classconnection.html#nping">nping</a></td></tr>
71
72 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used by PING checks with clients.  <a href="#nping"></a><br></td></tr>
73 </table>
74 <hr><a name="_details"></a><h2>Detailed Description</h2>
75 Please note: classes serverrec and userrec both inherit from class connection. 
76 <p>
77
78 <p>
79 Definition at line <a class="el" href="connection_8h-source.html#l00037">37</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
80 <a class="anchor" name="connection_28_29"></a><!-- doxytag: member="connection::connection" ref="connection_28_29" args="()" --><p>
81 <table class="mdTable" cellpadding="2" cellspacing="0">
82   <tr>
83     <td class="mdRow">
84       <table cellpadding="0" cellspacing="0" border="0">
85         <tr>
86           <td class="md" nowrap valign="top">connection::connection           </td>
87           <td class="md" valign="top">(&nbsp;</td>
88           <td class="mdname1" valign="top" nowrap>          </td>
89           <td class="md" valign="top">&nbsp;)&nbsp;</td>
90           <td class="md" nowrap><code> [inline]</code></td>
91         </tr>
92       </table>
93     </td>
94   </tr>
95 </table>
96 <table cellspacing="5" cellpadding="0" border="0">
97   <tr>
98     <td>
99       &nbsp;
100     </td>
101     <td>
102
103 <p>
104 Default constructor. 
105 <p>
106
107 <p>
108 Definition at line <a class="el" href="connection_8h-source.html#l00100">100</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
109 <p>
110 References <a class="el" href="connection_8h-source.html#l00042">fd</a>.<div class="fragment"><pre class="fragment"><a name="l00101"></a>00101         {
111 <a name="l00102"></a>00102                 this-&gt;<a class="code" href="classconnection.html#fd">fd</a> = -1;
112 <a name="l00103"></a>00103         }
113 </pre></div>
114 <p>
115     </td>
116   </tr>
117 </table>
118 <hr><h2>Member Data Documentation</h2>
119 <a class="anchor" name="bytes_5Fin"></a><!-- doxytag: member="connection::bytes_in" ref="bytes_5Fin" args="" --><p>
120 <table class="mdTable" cellpadding="2" cellspacing="0">
121   <tr>
122     <td class="mdRow">
123       <table cellpadding="0" cellspacing="0" border="0">
124         <tr>
125           <td class="md" nowrap valign="top">int <a class="el" href="classconnection.html#bytes_5Fin">connection::bytes_in</a>          </td>
126         </tr>
127       </table>
128     </td>
129   </tr>
130 </table>
131 <table cellspacing="5" cellpadding="0" border="0">
132   <tr>
133     <td>
134       &nbsp;
135     </td>
136     <td>
137
138 <p>
139 Stats counter for bytes inbound. 
140 <p>
141
142 <p>
143 Definition at line <a class="el" href="connection_8h-source.html#l00054">54</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
144 <p>
145 Referenced by <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
146   </tr>
147 </table>
148 <a class="anchor" name="bytes_5Fout"></a><!-- doxytag: member="connection::bytes_out" ref="bytes_5Fout" args="" --><p>
149 <table class="mdTable" cellpadding="2" cellspacing="0">
150   <tr>
151     <td class="mdRow">
152       <table cellpadding="0" cellspacing="0" border="0">
153         <tr>
154           <td class="md" nowrap valign="top">int <a class="el" href="classconnection.html#bytes_5Fout">connection::bytes_out</a>          </td>
155         </tr>
156       </table>
157     </td>
158   </tr>
159 </table>
160 <table cellspacing="5" cellpadding="0" border="0">
161   <tr>
162     <td>
163       &nbsp;
164     </td>
165     <td>
166
167 <p>
168 Stats counter for bytes outbound. 
169 <p>
170
171 <p>
172 Definition at line <a class="el" href="connection_8h-source.html#l00058">58</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
173 <p>
174 Referenced by <a class="el" href="users_8cpp-source.html#l00295">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
175   </tr>
176 </table>
177 <a class="anchor" name="cmds_5Fin"></a><!-- doxytag: member="connection::cmds_in" ref="cmds_5Fin" args="" --><p>
178 <table class="mdTable" cellpadding="2" cellspacing="0">
179   <tr>
180     <td class="mdRow">
181       <table cellpadding="0" cellspacing="0" border="0">
182         <tr>
183           <td class="md" nowrap valign="top">int <a class="el" href="classconnection.html#cmds_5Fin">connection::cmds_in</a>          </td>
184         </tr>
185       </table>
186     </td>
187   </tr>
188 </table>
189 <table cellspacing="5" cellpadding="0" border="0">
190   <tr>
191     <td>
192       &nbsp;
193     </td>
194     <td>
195
196 <p>
197 Stats counter for commands inbound. 
198 <p>
199
200 <p>
201 Definition at line <a class="el" href="connection_8h-source.html#l00062">62</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
202 <p>
203 Referenced by <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
204   </tr>
205 </table>
206 <a class="anchor" name="cmds_5Fout"></a><!-- doxytag: member="connection::cmds_out" ref="cmds_5Fout" args="" --><p>
207 <table class="mdTable" cellpadding="2" cellspacing="0">
208   <tr>
209     <td class="mdRow">
210       <table cellpadding="0" cellspacing="0" border="0">
211         <tr>
212           <td class="md" nowrap valign="top">int <a class="el" href="classconnection.html#cmds_5Fout">connection::cmds_out</a>          </td>
213         </tr>
214       </table>
215     </td>
216   </tr>
217 </table>
218 <table cellspacing="5" cellpadding="0" border="0">
219   <tr>
220     <td>
221       &nbsp;
222     </td>
223     <td>
224
225 <p>
226 Stats counter for commands outbound. 
227 <p>
228
229 <p>
230 Definition at line <a class="el" href="connection_8h-source.html#l00066">66</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
231 <p>
232 Referenced by <a class="el" href="users_8cpp-source.html#l00295">userrec::FlushWriteBuf()</a>, and <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
233   </tr>
234 </table>
235 <a class="anchor" name="fd"></a><!-- doxytag: member="connection::fd" ref="fd" args="" --><p>
236 <table class="mdTable" cellpadding="2" cellspacing="0">
237   <tr>
238     <td class="mdRow">
239       <table cellpadding="0" cellspacing="0" border="0">
240         <tr>
241           <td class="md" nowrap valign="top">int <a class="el" href="classconnection.html#fd">connection::fd</a>          </td>
242         </tr>
243       </table>
244     </td>
245   </tr>
246 </table>
247 <table cellspacing="5" cellpadding="0" border="0">
248   <tr>
249     <td>
250       &nbsp;
251     </td>
252     <td>
253
254 <p>
255 File descriptor of the connection. 
256 <p>
257
258 <p>
259 Definition at line <a class="el" href="connection_8h-source.html#l00042">42</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
260 <p>
261 Referenced by <a class="el" href="channels_8cpp-source.html#l00194">add_channel()</a>, <a class="el" href="connection_8h-source.html#l00100">connection()</a>, <a class="el" href="modules_8cpp-source.html#l00834">ConfigReader::DumpErrors()</a>, <a class="el" href="users_8cpp-source.html#l00647">FullConnectUser()</a>, <a class="el" href="channels_8cpp-source.html#l00459">kick_channel()</a>, <a class="el" href="users_8cpp-source.html#l00349">kill_link()</a>, <a class="el" href="users_8cpp-source.html#l00412">kill_link_silent()</a>, <a class="el" href="modules_8cpp-source.html#l00609">Server::PseudoToUser()</a>, <a class="el" href="modules_8cpp-source.html#l00440">Server::SendTo()</a>, <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00597">Server::UserToPseudo()</a>.    </td>
262   </tr>
263 </table>
264 <a class="anchor" name="haspassed"></a><!-- doxytag: member="connection::haspassed" ref="haspassed" args="" --><p>
265 <table class="mdTable" cellpadding="2" cellspacing="0">
266   <tr>
267     <td class="mdRow">
268       <table cellpadding="0" cellspacing="0" border="0">
269         <tr>
270           <td class="md" nowrap valign="top">bool <a class="el" href="classconnection.html#haspassed">connection::haspassed</a>          </td>
271         </tr>
272       </table>
273     </td>
274   </tr>
275 </table>
276 <table cellspacing="5" cellpadding="0" border="0">
277   <tr>
278     <td>
279       &nbsp;
280     </td>
281     <td>
282
283 <p>
284 True if server/user has authenticated, false if otherwise. 
285 <p>
286
287 <p>
288 Definition at line <a class="el" href="connection_8h-source.html#l00070">70</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
289 <p>
290 Referenced by <a class="el" href="users_8cpp-source.html#l00647">FullConnectUser()</a>, and <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
291   </tr>
292 </table>
293 <a class="anchor" name="host_5B_31_36_30_5D"></a><!-- doxytag: member="connection::host" ref="host_5B_31_36_30_5D" args="[160]" --><p>
294 <table class="mdTable" cellpadding="2" cellspacing="0">
295   <tr>
296     <td class="mdRow">
297       <table cellpadding="0" cellspacing="0" border="0">
298         <tr>
299           <td class="md" nowrap valign="top">char <a class="el" href="classconnection.html#host_5B_31_36_30_5D">connection::host</a>[160]          </td>
300         </tr>
301       </table>
302     </td>
303   </tr>
304 </table>
305 <table cellspacing="5" cellpadding="0" border="0">
306   <tr>
307     <td>
308       &nbsp;
309     </td>
310     <td>
311
312 <p>
313 Hostname of connection. 
314 <p>
315 Not used if this is a serverrec
316 <p>
317 Definition at line <a class="el" href="connection_8h-source.html#l00046">46</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
318 <p>
319 Referenced by <a class="el" href="users_8cpp-source.html#l00471">AddWhoWas()</a>, <a class="el" href="users_8cpp-source.html#l00647">FullConnectUser()</a>, <a class="el" href="users_8cpp-source.html#l00116">userrec::GetFullRealHost()</a>, <a class="el" href="users_8cpp-source.html#l00349">kill_link()</a>, <a class="el" href="users_8cpp-source.html#l00412">kill_link_silent()</a>, <a class="el" href="modules_8cpp-source.html#l00609">Server::PseudoToUser()</a>, <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>, and <a class="el" href="modules_8cpp-source.html#l00597">Server::UserToPseudo()</a>.    </td>
320   </tr>
321 </table>
322 <a class="anchor" name="idle_5Flastmsg"></a><!-- doxytag: member="connection::idle_lastmsg" ref="idle_5Flastmsg" args="" --><p>
323 <table class="mdTable" cellpadding="2" cellspacing="0">
324   <tr>
325     <td class="mdRow">
326       <table cellpadding="0" cellspacing="0" border="0">
327         <tr>
328           <td class="md" nowrap valign="top">time_t <a class="el" href="classconnection.html#idle_5Flastmsg">connection::idle_lastmsg</a>          </td>
329         </tr>
330       </table>
331     </td>
332   </tr>
333 </table>
334 <table cellspacing="5" cellpadding="0" border="0">
335   <tr>
336     <td>
337       &nbsp;
338     </td>
339     <td>
340
341 <p>
342 Time that the connection last sent data, used to calculate idle time. 
343 <p>
344
345 <p>
346 Definition at line <a class="el" href="connection_8h-source.html#l00092">92</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
347 <p>
348 Referenced by <a class="el" href="users_8cpp-source.html#l00647">FullConnectUser()</a>, and <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
349   </tr>
350 </table>
351 <a class="anchor" name="ip_5B_31_36_5D"></a><!-- doxytag: member="connection::ip" ref="ip_5B_31_36_5D" args="[16]" --><p>
352 <table class="mdTable" cellpadding="2" cellspacing="0">
353   <tr>
354     <td class="mdRow">
355       <table cellpadding="0" cellspacing="0" border="0">
356         <tr>
357           <td class="md" nowrap valign="top">char <a class="el" href="classconnection.html#ip_5B_31_36_5D">connection::ip</a>[16]          </td>
358         </tr>
359       </table>
360     </td>
361   </tr>
362 </table>
363 <table cellspacing="5" cellpadding="0" border="0">
364   <tr>
365     <td>
366       &nbsp;
367     </td>
368     <td>
369
370 <p>
371 IP of connection. 
372 <p>
373
374 <p>
375 Definition at line <a class="el" href="connection_8h-source.html#l00050">50</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
376 <p>
377 Referenced by <a class="el" href="users_8cpp-source.html#l00647">FullConnectUser()</a>, and <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
378   </tr>
379 </table>
380 <a class="anchor" name="lastping"></a><!-- doxytag: member="connection::lastping" ref="lastping" args="" --><p>
381 <table class="mdTable" cellpadding="2" cellspacing="0">
382   <tr>
383     <td class="mdRow">
384       <table cellpadding="0" cellspacing="0" border="0">
385         <tr>
386           <td class="md" nowrap valign="top">time_t <a class="el" href="classconnection.html#lastping">connection::lastping</a>          </td>
387         </tr>
388       </table>
389     </td>
390   </tr>
391 </table>
392 <table cellspacing="5" cellpadding="0" border="0">
393   <tr>
394     <td>
395       &nbsp;
396     </td>
397     <td>
398
399 <p>
400 Time the connection was last pinged. 
401 <p>
402
403 <p>
404 Definition at line <a class="el" href="connection_8h-source.html#l00084">84</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
405 <p>
406 Referenced by <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
407   </tr>
408 </table>
409 <a class="anchor" name="nping"></a><!-- doxytag: member="connection::nping" ref="nping" args="" --><p>
410 <table class="mdTable" cellpadding="2" cellspacing="0">
411   <tr>
412     <td class="mdRow">
413       <table cellpadding="0" cellspacing="0" border="0">
414         <tr>
415           <td class="md" nowrap valign="top">time_t <a class="el" href="classconnection.html#nping">connection::nping</a>          </td>
416         </tr>
417       </table>
418     </td>
419   </tr>
420 </table>
421 <table cellspacing="5" cellpadding="0" border="0">
422   <tr>
423     <td>
424       &nbsp;
425     </td>
426     <td>
427
428 <p>
429 Used by PING checks with clients. 
430 <p>
431
432 <p>
433 Definition at line <a class="el" href="connection_8h-source.html#l00096">96</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
434 <p>
435 Referenced by <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
436   </tr>
437 </table>
438 <a class="anchor" name="port"></a><!-- doxytag: member="connection::port" ref="port" args="" --><p>
439 <table class="mdTable" cellpadding="2" cellspacing="0">
440   <tr>
441     <td class="mdRow">
442       <table cellpadding="0" cellspacing="0" border="0">
443         <tr>
444           <td class="md" nowrap valign="top">int <a class="el" href="classconnection.html#port">connection::port</a>          </td>
445         </tr>
446       </table>
447     </td>
448   </tr>
449 </table>
450 <table cellspacing="5" cellpadding="0" border="0">
451   <tr>
452     <td>
453       &nbsp;
454     </td>
455     <td>
456
457 <p>
458 Port number For a userrec, this is the port they connected to the network on. 
459 <p>
460 For a serverrec this is the current listening port of the serverrec object.
461 <p>
462 Definition at line <a class="el" href="connection_8h-source.html#l00076">76</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
463 <p>
464 Referenced by <a class="el" href="users_8cpp-source.html#l00647">FullConnectUser()</a>, <a class="el" href="users_8cpp-source.html#l00349">kill_link()</a>, <a class="el" href="users_8cpp-source.html#l00412">kill_link_silent()</a>, and <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
465   </tr>
466 </table>
467 <a class="anchor" name="registered"></a><!-- doxytag: member="connection::registered" ref="registered" args="" --><p>
468 <table class="mdTable" cellpadding="2" cellspacing="0">
469   <tr>
470     <td class="mdRow">
471       <table cellpadding="0" cellspacing="0" border="0">
472         <tr>
473           <td class="md" nowrap valign="top">char <a class="el" href="classconnection.html#registered">connection::registered</a>          </td>
474         </tr>
475       </table>
476     </td>
477   </tr>
478 </table>
479 <table cellspacing="5" cellpadding="0" border="0">
480   <tr>
481     <td>
482       &nbsp;
483     </td>
484     <td>
485
486 <p>
487 Used by userrec to indicate the registration status of the connection. 
488 <p>
489
490 <p>
491 Definition at line <a class="el" href="connection_8h-source.html#l00080">80</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
492 <p>
493 Referenced by <a class="el" href="users_8cpp-source.html#l00731">ConnectUser()</a>, <a class="el" href="users_8cpp-source.html#l00769">force_nickchange()</a>, <a class="el" href="users_8cpp-source.html#l00647">FullConnectUser()</a>, <a class="el" href="users_8cpp-source.html#l00349">kill_link()</a>, <a class="el" href="users_8cpp-source.html#l00412">kill_link_silent()</a>, and <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
494   </tr>
495 </table>
496 <a class="anchor" name="signon"></a><!-- doxytag: member="connection::signon" ref="signon" args="" --><p>
497 <table class="mdTable" cellpadding="2" cellspacing="0">
498   <tr>
499     <td class="mdRow">
500       <table cellpadding="0" cellspacing="0" border="0">
501         <tr>
502           <td class="md" nowrap valign="top">time_t <a class="el" href="classconnection.html#signon">connection::signon</a>          </td>
503         </tr>
504       </table>
505     </td>
506   </tr>
507 </table>
508 <table cellspacing="5" cellpadding="0" border="0">
509   <tr>
510     <td>
511       &nbsp;
512     </td>
513     <td>
514
515 <p>
516 Time the connection was created, set in the constructor. 
517 <p>
518
519 <p>
520 Definition at line <a class="el" href="connection_8h-source.html#l00088">88</a> of file <a class="el" href="connection_8h-source.html">connection.h</a>.
521 <p>
522 Referenced by <a class="el" href="users_8cpp-source.html#l00471">AddWhoWas()</a>, and <a class="el" href="users_8cpp-source.html#l00063">userrec::userrec()</a>.    </td>
523   </tr>
524 </table>
525 <hr>The documentation for this class was generated from the following file:<ul>
526 <li><a class="el" href="connection_8h-source.html">connection.h</a></ul>
527 <hr size="1"><address style="align: right;"><small>Generated on Mon Dec 19 18:02:15 2005 for InspIRCd by&nbsp;
528 <a href="http://www.doxygen.org/index.html">
529 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>
530 </body>
531 </html>