diff options
Diffstat (limited to '')
-rw-r--r-- | src/itoserver.h | 8 |
1 files changed, 5 insertions, 3 deletions
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 | |||
69 | virtual void onNewConnection( Client *pClient, int nPort )=0; | 69 | virtual void onNewConnection( Client *pClient, int nPort )=0; |
70 | virtual void onClosedConnection( Client *pClient )=0; | 70 | virtual void onClosedConnection( Client *pClient )=0; |
71 | 71 | ||
72 | virtual void *run(); | 72 | protected: |
73 | virtual void run(); | ||
73 | 74 | ||
74 | private: | 75 | private: |
75 | class SrvClientLink; | 76 | class SrvClientLink; |
@@ -81,11 +82,12 @@ namespace Bu | |||
81 | int nTimeoutSec, int nTimeoutUSec ); | 82 | int nTimeoutSec, int nTimeoutUSec ); |
82 | virtual ~ItoClient(); | 83 | virtual ~ItoClient(); |
83 | 84 | ||
84 | virtual void *run(); | ||
85 | |||
86 | typedef ItoQueue<Bu::FString *> StringQueue; | 85 | typedef ItoQueue<Bu::FString *> StringQueue; |
87 | StringQueue qMsg; | 86 | StringQueue qMsg; |
88 | 87 | ||
88 | protected: | ||
89 | virtual void run(); | ||
90 | |||
89 | private: | 91 | private: |
90 | ItoServer &rSrv; | 92 | ItoServer &rSrv; |
91 | Client *pClient; | 93 | Client *pClient; |