From 8f00317567dab4c825a0eca76a9cae7951edd11f Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 6 Dec 2011 14:15:52 +0100 Subject: Clean up the way connections are handled. --- server/src/connection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server/src/connection.h') diff --git a/server/src/connection.h b/server/src/connection.h index b7d17f4..098c735 100644 --- a/server/src/connection.h +++ b/server/src/connection.h @@ -36,7 +36,8 @@ class Connection { public: virtual ~Connection() {} - virtual bool handle(const char *data, size_t size) = 0; + virtual bool data(const char *data, size_t size) = 0; + virtual bool handle() = 0; virtual void getReply(Httpd::Reply &reply) = 0; }; -- cgit v1.2.3