summaryrefslogtreecommitdiff
path: root/src/connectionmonitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/connectionmonitor.h')
-rw-r--r--src/connectionmonitor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/connectionmonitor.h b/src/connectionmonitor.h
index 01b2cca..9910556 100644
--- a/src/connectionmonitor.h
+++ b/src/connectionmonitor.h
@@ -31,6 +31,10 @@ public:
31 * force a shutdown. 31 * force a shutdown.
32 */ 32 */
33 virtual bool onNewConnection( Connection *pCon, int nPort ) = 0; 33 virtual bool onNewConnection( Connection *pCon, int nPort ) = 0;
34 virtual bool onNewClientConnection( Connection *pCon, int nPort )
35 {
36 return onNewConnection( pCon, nPort );
37 };
34 38
35 /** Receives the notification that a connection was closed. 39 /** Receives the notification that a connection was closed.
36 *@param pCon The connection that was closed. 40 *@param pCon The connection that was closed.