aboutsummaryrefslogtreecommitdiff
path: root/src/connectionmonitor.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-05-03 08:42:32 +0000
committerMike Buland <eichlan@xagasoft.com>2006-05-03 08:42:32 +0000
commit68db829db66dbf8faad5bd8df35760b5af3a1491 (patch)
treed1b79a641a14966dbd1bb2bea6625454db7f64a4 /src/connectionmonitor.h
parent96b00553a0ffe6bb34af6ad15e1cfc2bed67bd75 (diff)
downloadlibbu++-68db829db66dbf8faad5bd8df35760b5af3a1491.tar.gz
libbu++-68db829db66dbf8faad5bd8df35760b5af3a1491.tar.bz2
libbu++-68db829db66dbf8faad5bd8df35760b5af3a1491.tar.xz
libbu++-68db829db66dbf8faad5bd8df35760b5af3a1491.zip
Sweet, all changes from the (once again 1 rev) branch have been merged back in.
Now to finalize the changes in my other programs.
Diffstat (limited to '')
-rw-r--r--src/connectionmonitor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/connectionmonitor.h b/src/connectionmonitor.h
index b96b533..01b2cca 100644
--- a/src/connectionmonitor.h
+++ b/src/connectionmonitor.h
@@ -25,10 +25,12 @@ public:
25 25
26 /** Receives the notification that new connection was received. 26 /** Receives the notification that new connection was received.
27 *@param pCon The connection that was created. 27 *@param pCon The connection that was created.
28 *@param nSocket The socket that the client connected to, used to determine
29 * which protocol to apply.
28 *@returns Should return a true value if everything is OK, a false to 30 *@returns Should return a true value if everything is OK, a false to
29 * force a shutdown. 31 * force a shutdown.
30 */ 32 */
31 virtual bool onNewConnection( Connection *pCon ) = 0; 33 virtual bool onNewConnection( Connection *pCon, int nPort ) = 0;
32 34
33 /** Receives the notification that a connection was closed. 35 /** Receives the notification that a connection was closed.
34 *@param pCon The connection that was closed. 36 *@param pCon The connection that was closed.