diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2023-07-26 21:33:36 -0700 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2023-07-26 21:33:36 -0700 |
| commit | e43a2cac32cb773994b11a3d964ec4acc372d273 (patch) | |
| tree | 9e281be52f9dd8b80855c7d3cb9ec3df9cdd0ad3 /src/stable/client.h | |
| parent | b544779d5b759d4ab2b82654e3f53b82ea41bac7 (diff) | |
| download | libbu++-e43a2cac32cb773994b11a3d964ec4acc372d273.tar.gz libbu++-e43a2cac32cb773994b11a3d964ec4acc372d273.tar.bz2 libbu++-e43a2cac32cb773994b11a3d964ec4acc372d273.tar.xz libbu++-e43a2cac32cb773994b11a3d964ec4acc372d273.zip | |
Added a profiler and investageted Server.
Diffstat (limited to '')
| -rw-r--r-- | src/stable/client.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/stable/client.h b/src/stable/client.h index 119e2f7..abde682 100644 --- a/src/stable/client.h +++ b/src/stable/client.h | |||
| @@ -16,6 +16,14 @@ | |||
| 16 | #include "bu/mutex.h" | 16 | #include "bu/mutex.h" |
| 17 | #include "bu/readwritemutex.h" | 17 | #include "bu/readwritemutex.h" |
| 18 | 18 | ||
| 19 | #ifndef PROFILE_BU_SERVER | ||
| 20 | // #define PROFILE_BU_SERVER 1 | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifdef PROFILE_BU_SERVER | ||
| 24 | #include "bu/profiler.h" | ||
| 25 | #endif | ||
| 26 | |||
| 19 | namespace Bu | 27 | namespace Bu |
| 20 | { | 28 | { |
| 21 | class Protocol; | 29 | class Protocol; |
| @@ -29,7 +37,7 @@ namespace Bu | |||
| 29 | class Client : public Bu::Stream | 37 | class Client : public Bu::Stream |
| 30 | { | 38 | { |
| 31 | public: | 39 | public: |
| 32 | Client( Bu::TcpSocket *pSocket, Bu::ClientLinkFactory *pfLink ); | 40 | Client( Bu::TcpSocket *pSocket, Bu::ClientLinkFactory *pfLink); |
| 33 | virtual ~Client(); | 41 | virtual ~Client(); |
| 34 | 42 | ||
| 35 | void processInput(); | 43 | void processInput(); |
