summaryrefslogtreecommitdiffstats
path: root/src/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/http')
-rw-r--r--src/http/HTTPClientSender.cpp19
-rw-r--r--src/http/HTTPClientSender.hpp3
-rw-r--r--src/http/HTTPEngineSender.hpp3
3 files changed, 1 insertions, 24 deletions
diff --git a/src/http/HTTPClientSender.cpp b/src/http/HTTPClientSender.cpp
index 1dfc1da7..afaca6d5 100644
--- a/src/http/HTTPClientSender.cpp
+++ b/src/http/HTTPClientSender.cpp
@@ -126,25 +126,6 @@ HTTPClientSender::set_property(const URI& subject, const URI& key, const Atom& v
}
void
-HTTPClientSender::activity(const Path& path, const Raul::Atom& value)
-{
- if (value.type() == Atom::BOOL) {
- const string msg = string(
- "@prefix ingen: <http://drobilla.net/ns/ingen#> .\n\n<").append(
- path.str()).append("> ingen:activity true .\n");
- send_chunk(msg);
- } else if (value.type() == Atom::FLOAT) {
- const string msg = string(
- "@prefix ingen: <http://drobilla.net/ns/ingen#> .\n\n<").append(
- path.str()).append("> ingen:activity ").append(
- value.get_bool() ? "true" : "false").append(" .\n");
- send_chunk(msg);
- } else {
- warn << "Unknown activity type at " << path << endl;
- }
-}
-
-void
HTTPClientSender::move(const Path& old_path, const Path& new_path)
{
string msg = string(
diff --git a/src/http/HTTPClientSender.hpp b/src/http/HTTPClientSender.hpp
index c0af96df..b7eb777f 100644
--- a/src/http/HTTPClientSender.hpp
+++ b/src/http/HTTPClientSender.hpp
@@ -93,9 +93,6 @@ public:
const Raul::URI& predicate,
const Raul::Atom& value);
- virtual void activity(const Raul::Path& path,
- const Raul::Atom& value);
-
private:
Engine& _engine;
std::string _url;
diff --git a/src/http/HTTPEngineSender.hpp b/src/http/HTTPEngineSender.hpp
index c7296bcc..d9ac4481 100644
--- a/src/http/HTTPEngineSender.hpp
+++ b/src/http/HTTPEngineSender.hpp
@@ -59,8 +59,7 @@ public:
inline int32_t next_id()
{ int32_t ret = (_id == -1) ? -1 : _id++; return ret; }
- void respond_to(ClientInterface* client, int32_t id) { _id = id; }
- void disable_responses() { _id = -1; }
+ void set_response_id(int32_t id) { _id = id; }
void attach(int32_t ping_id, bool block);