aboutsummaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.h b/src/client.h
index 4188a49..0b670e2 100644
--- a/src/client.h
+++ b/src/client.h
@@ -44,13 +44,12 @@ namespace Bu
44 void clearProtocol(); 44 void clearProtocol();
45 45
46 bool isOpen(); 46 bool isOpen();
47 void close();
47 48
48 const Bu::Socket *getSocket() const; 49 const Bu::Socket *getSocket() const;
49 50
50 /**
51 *@todo Make this not suck.
52 */
53 void disconnect(); 51 void disconnect();
52 bool wantsDisconnect();
54 53
55 private: 54 private:
56 Bu::Socket *pSocket; 55 Bu::Socket *pSocket;
@@ -58,6 +57,7 @@ namespace Bu
58 Bu::FString sReadBuf; 57 Bu::FString sReadBuf;
59 int nRBOffset; 58 int nRBOffset;
60 Bu::FString sWriteBuf; 59 Bu::FString sWriteBuf;
60 bool bWantsDisconnect;
61 }; 61 };
62} 62}
63 63