summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/RegisterClientEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/RegisterClientEvent.cpp')
-rw-r--r--src/libs/engine/events/RegisterClientEvent.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/libs/engine/events/RegisterClientEvent.cpp b/src/libs/engine/events/RegisterClientEvent.cpp
index ace2b3e0..ac2dbbc3 100644
--- a/src/libs/engine/events/RegisterClientEvent.cpp
+++ b/src/libs/engine/events/RegisterClientEvent.cpp
@@ -23,13 +23,14 @@
namespace Ingen {
-RegisterClientEvent::RegisterClientEvent(Engine& engine, SharedPtr<Shared::Responder> responder,
- SampleCount timestamp,
- ClientKey key,
- SharedPtr<ClientInterface> client)
-: QueuedEvent(engine, responder, timestamp)
-, _key(key)
-, _client(client)
+RegisterClientEvent::RegisterClientEvent(Engine& engine,
+ SharedPtr<Shared::Responder> responder,
+ SampleCount timestamp,
+ const string& uri,
+ SharedPtr<ClientInterface> client)
+ : QueuedEvent(engine, responder, timestamp)
+ , _uri(uri)
+ , _client(client)
{
}
@@ -37,7 +38,7 @@ RegisterClientEvent::RegisterClientEvent(Engine& engine, SharedPtr<Shared::Respo
void
RegisterClientEvent::pre_process()
{
- _engine.broadcaster()->register_client(_key, _client);
+ _engine.broadcaster()->register_client(_uri, _client);
QueuedEvent::pre_process();
}