diff options
Diffstat (limited to 'src/connectionmonitor.h')
-rw-r--r-- | src/connectionmonitor.h | 4 |
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. |