summaryrefslogtreecommitdiffstats
path: root/src/engine/events/RegisterClient.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-03 20:39:18 +0000
committerDavid Robillard <d@drobilla.net>2010-02-03 20:39:18 +0000
commitaef3c9348218029a077f40081fd078a9e2ee85ca (patch)
treeb77d6ef50f66004129a03cb0751b653336c50f14 /src/engine/events/RegisterClient.cpp
parent3e495d47f06cca50521076e8f77a966dfec521ab (diff)
downloadingen-aef3c9348218029a077f40081fd078a9e2ee85ca.tar.gz
ingen-aef3c9348218029a077f40081fd078a9e2ee85ca.tar.bz2
ingen-aef3c9348218029a077f40081fd078a9e2ee85ca.zip
Responder => Request, and handle EventSource unblocking from Request (simplify Event interfaces).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2417 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events/RegisterClient.cpp')
-rw-r--r--src/engine/events/RegisterClient.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/engine/events/RegisterClient.cpp b/src/engine/events/RegisterClient.cpp
index 54368acb..2d7a8bea 100644
--- a/src/engine/events/RegisterClient.cpp
+++ b/src/engine/events/RegisterClient.cpp
@@ -15,7 +15,7 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "Responder.hpp"
+#include "Request.hpp"
#include "events/RegisterClient.hpp"
#include "Engine.hpp"
#include "ClientBroadcaster.hpp"
@@ -27,11 +27,11 @@ namespace Events {
RegisterClient::RegisterClient(Engine& engine,
- SharedPtr<Responder> responder,
- SampleCount timestamp,
- const URI& uri,
- Shared::ClientInterface* client)
- : QueuedEvent(engine, responder, timestamp)
+ SharedPtr<Request> request,
+ SampleCount timestamp,
+ const URI& uri,
+ Shared::ClientInterface* client)
+ : QueuedEvent(engine, request, timestamp)
, _uri(uri)
, _client(client)
{
@@ -50,7 +50,7 @@ RegisterClient::pre_process()
void
RegisterClient::post_process()
{
- _responder->respond_ok();
+ _request->respond_ok();
}