diff options
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index 1a189e2..02ba077 100644 --- a/src/client.h +++ b/src/client.h | |||
@@ -20,17 +20,23 @@ namespace Bu | |||
20 | virtual ~Client(); | 20 | virtual ~Client(); |
21 | 21 | ||
22 | void processInput(); | 22 | void processInput(); |
23 | void processOutput(); | ||
23 | 24 | ||
24 | Bu::FString &getInput(); | 25 | Bu::FString &getInput(); |
26 | Bu::FString &getOutput(); | ||
27 | void write( const char *pData, int nBytes ); | ||
25 | 28 | ||
26 | void setProtocol( Protocol *pProto ); | 29 | void setProtocol( Protocol *pProto ); |
27 | Bu::Protocol *getProtocol(); | 30 | Bu::Protocol *getProtocol(); |
28 | void clearProtocol(); | 31 | void clearProtocol(); |
29 | 32 | ||
33 | bool isOpen(); | ||
34 | |||
30 | private: | 35 | private: |
31 | Bu::Socket *pSocket; | 36 | Bu::Socket *pSocket; |
32 | Bu::Protocol *pProto; | 37 | Bu::Protocol *pProto; |
33 | Bu::FString sReadBuf; | 38 | Bu::FString sReadBuf; |
39 | Bu::FString sWriteBuf; | ||
34 | }; | 40 | }; |
35 | } | 41 | } |
36 | 42 | ||