From 1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 27 Apr 2010 17:07:55 +0000 Subject: The Bu::Ito thread class has changed the rules on the run function. It no longer returns anything, that's fine, it's in a class, but it also is protected now. That doesn't really effect child classes much, they can make run public, but I reccomend protected to avoid confusion. --- src/itoserver.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/itoserver.h') diff --git a/src/itoserver.h b/src/itoserver.h index 1b45748..c08d453 100644 --- a/src/itoserver.h +++ b/src/itoserver.h @@ -69,7 +69,8 @@ namespace Bu virtual void onNewConnection( Client *pClient, int nPort )=0; virtual void onClosedConnection( Client *pClient )=0; - virtual void *run(); + protected: + virtual void run(); private: class SrvClientLink; @@ -81,11 +82,12 @@ namespace Bu int nTimeoutSec, int nTimeoutUSec ); virtual ~ItoClient(); - virtual void *run(); - typedef ItoQueue StringQueue; StringQueue qMsg; + protected: + virtual void run(); + private: ItoServer &rSrv; Client *pClient; -- cgit v1.2.3