summaryrefslogtreecommitdiff
path: root/implementation/runtime
diff options
context:
space:
mode:
authorLutz Bichler <Lutz.Bichler@bmw.de>2014-08-01 14:19:24 +0200
committerLutz Bichler <Lutz.Bichler@bmw.de>2014-08-01 14:19:24 +0200
commit8dfb0d6a1bf29e1d4dc7ff3a0788be3a4d01bec1 (patch)
tree692560f88b37545414d15cf861a405d983dbc71b /implementation/runtime
parentaf46f8a2270af686af2d8b4bcb5750539a12a52d (diff)
downloadvSomeIP-8dfb0d6a1bf29e1d4dc7ff3a0788be3a4d01bec1.tar.gz
First part of event/eventgroup implementation. Subscription works.
Second part (routing) is missing.
Diffstat (limited to 'implementation/runtime')
-rw-r--r--implementation/runtime/src/application_impl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/implementation/runtime/src/application_impl.cpp b/implementation/runtime/src/application_impl.cpp
index 00d388a..8d9eb73 100644
--- a/implementation/runtime/src/application_impl.cpp
+++ b/implementation/runtime/src/application_impl.cpp
@@ -194,9 +194,10 @@ void application_impl::send(std::shared_ptr<message> _message, bool _flush,
}
}
-void application_impl::set(service_t _service, instance_t _instance, event_t,
+void application_impl::set(service_t _service, instance_t _instance, event_t _event,
const std::shared_ptr<payload> &_payload) {
-
+ if (routing_)
+ routing_->set(client_, _service, _instance, _event, _payload);
}
void application_impl::register_event_handler(event_handler_t _handler) {