summaryrefslogtreecommitdiff
path: root/server/src/connection.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-12-06 14:15:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2011-12-06 14:15:52 +0100
commit8f00317567dab4c825a0eca76a9cae7951edd11f (patch)
treecb0d052e81e1fa9608eb7c3dc539dcc1d65e5043 /server/src/connection.h
parentfbeee6710e4132a921ea3c7de15799a8eb681e97 (diff)
Clean up the way connections are handled.
Diffstat (limited to 'server/src/connection.h')
-rw-r--r--server/src/connection.h3
1 files changed, 2 insertions, 1 deletions
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;
};