diff options
Diffstat (limited to 'src/server/EventWriter.cpp')
-rw-r--r-- | src/server/EventWriter.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/server/EventWriter.cpp b/src/server/EventWriter.cpp index 96814ed2..60096d85 100644 --- a/src/server/EventWriter.cpp +++ b/src/server/EventWriter.cpp @@ -54,7 +54,7 @@ EventWriter::put(const Raul::URI& uri, { _engine.enqueue_event( new Events::Delta(_engine, _respondee, _request_id, now(), - true, ctx, uri, properties)); + Events::Delta::Type::PUT, ctx, uri, properties)); } void @@ -64,7 +64,8 @@ EventWriter::delta(const Raul::URI& uri, { _engine.enqueue_event( new Events::Delta(_engine, _respondee, _request_id, now(), - false, Resource::Graph::DEFAULT, uri, add, remove)); + Events::Delta::Type::PATCH, Resource::Graph::DEFAULT, + uri, add, remove)); } void @@ -124,7 +125,8 @@ EventWriter::set_property(const Raul::URI& uri, add.insert(make_pair(predicate, value)); _engine.enqueue_event( new Events::Delta(_engine, _respondee, _request_id, now(), - false, Resource::Graph::DEFAULT, uri, add, remove)); + Events::Delta::Type::SET, Resource::Graph::DEFAULT, + uri, add, remove)); } void |