diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-11 18:52:14 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 11:00:49 +0100 |
commit | 4146a3d1b078e2eb183eaf9cfdf97323624622bd (patch) | |
tree | 667bcf93cf11214d44b7500d6c48f334f317d9e0 /signal-composer-binding/clientApp.hpp | |
parent | b77a6a7841b203bf8e86179e67b9141cbc3cd83f (diff) |
Improve subscription process
Unsubscription remove asked signals from client session
then when no more signals are requested by the client
unsubscribe from event handle.
Correctly initialize members to by correctly evaluated after
Change-Id: Icabcb5a2446c62cab4eea9bf807613b719324ea0
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'signal-composer-binding/clientApp.hpp')
-rw-r--r-- | signal-composer-binding/clientApp.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/signal-composer-binding/clientApp.hpp b/signal-composer-binding/clientApp.hpp index f5c913b..f91b299 100644 --- a/signal-composer-binding/clientApp.hpp +++ b/signal-composer-binding/clientApp.hpp @@ -29,6 +29,7 @@ public: void update(Signal* sig); void appendSignals(std::vector<std::shared_ptr<Signal>>& sigV); + void subtractSignals(std::vector<std::shared_ptr<Signal>>& sigV); int makeSubscription(struct afb_req request); int makeUnsubscription(struct afb_req request); }; |