aboutsummaryrefslogtreecommitdiff
path: root/src/ClientInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 10:36:47 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 11:03:44 +0100
commita291415326f87afe5b42a89e9a90029b876895f2 (patch)
tree0ecd6f1e42a443ed5c96457682af3cafc39bc16c /src/ClientInternal.hxx
parent4ad7456428913f5232768367f2c0694bcb4540bb (diff)
event/BufferedSocket: move output buffer to FullyBufferedSocket
BufferedSocket has just an input buffer, and FullyBufferedSocket adds the output buffer.
Diffstat (limited to 'src/ClientInternal.hxx')
-rw-r--r--src/ClientInternal.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ClientInternal.hxx b/src/ClientInternal.hxx
index d538cfb3..06a60be7 100644
--- a/src/ClientInternal.hxx
+++ b/src/ClientInternal.hxx
@@ -24,7 +24,7 @@
#include "Client.hxx"
#include "ClientMessage.hxx"
#include "CommandListBuilder.hxx"
-#include "event/BufferedSocket.hxx"
+#include "event/FullyBufferedSocket.hxx"
#include "event/TimeoutMonitor.hxx"
#include "command.h"
@@ -44,7 +44,7 @@ enum {
struct Partition;
-class Client final : private BufferedSocket, TimeoutMonitor {
+class Client final : private FullyBufferedSocket, TimeoutMonitor {
public:
Partition &partition;
struct playlist &playlist;
@@ -89,7 +89,7 @@ public:
int fd, int uid, int num);
bool IsConnected() const {
- return BufferedSocket::IsDefined();
+ return FullyBufferedSocket::IsDefined();
}
gcc_pure
@@ -99,13 +99,13 @@ public:
gcc_pure
bool IsExpired() const {
- return !BufferedSocket::IsDefined();
+ return !FullyBufferedSocket::IsDefined();
}
void Close();
void SetExpired();
- using BufferedSocket::Write;
+ using FullyBufferedSocket::Write;
/**
* Send "idle" response to this client.