From 281bbcc6a7208c28283bc9bdd521c5d6cc48a60f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 10 May 2012 02:14:55 +0000 Subject: Bidirectional socket communication (GUI once again works remotely). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4335 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/EventWriter.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/server/EventWriter.hpp') diff --git a/src/server/EventWriter.hpp b/src/server/EventWriter.hpp index 1c5d11db..9e334f98 100644 --- a/src/server/EventWriter.hpp +++ b/src/server/EventWriter.hpp @@ -42,13 +42,13 @@ public: Raul::URI uri() const { return "http://drobilla.net/ns/ingen#internal"; } - void set_response_interface(Interface* iface) { _request_client = iface; } + void set_respondee(Interface* iface) { _respondee = iface; } virtual void set_response_id(int32_t id); - virtual void bundle_begin(); + virtual void bundle_begin() {} - virtual void bundle_end(); + virtual void bundle_end() {} virtual void put(const Raul::URI& path, const Resource::Properties& properties, @@ -79,13 +79,13 @@ public: virtual void get(const Raul::URI& uri); virtual void response(int32_t id, Status status) {} ///< N/A + virtual void error(const std::string& msg) {} ///< N/A protected: - Interface* _request_client; - int32_t _request_id; Engine& _engine; - bool _in_bundle; ///< True iff a bundle is currently being received + Interface* _respondee; + int32_t _request_id; private: SampleCount now() const; -- cgit v1.2.1