From 80153a5bb5d3b41101e6bd6755b61fd0e57fadbc Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 2 Nov 2006 11:29:19 +0000 Subject: Added the new features that you need to make the connection manager, protocols, and the connection monitor work in two-way-mode. Effectively you should be able to write systems that both serve and initiate connections, and only write one protocol. --- src/connectionmonitor.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/connectionmonitor.h') 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: * force a shutdown. */ virtual bool onNewConnection( Connection *pCon, int nPort ) = 0; + virtual bool onNewClientConnection( Connection *pCon, int nPort ) + { + return onNewConnection( pCon, nPort ); + }; /** Receives the notification that a connection was closed. *@param pCon The connection that was closed. -- cgit v1.2.3