diff options
author | Juergen Gehring <juergen.gehring@bmw.de> | 2018-01-25 00:40:02 -0800 |
---|---|---|
committer | Juergen Gehring <juergen.gehring@bmw.de> | 2018-01-25 00:40:02 -0800 |
commit | ba0508084244a2f226a6bdd42b02bbf83a7d7575 (patch) | |
tree | 866ea9a1d51070aa5311bb26b31605cf1eec68d6 /interface | |
parent | e20aff9795febe8d170e1e776f8b7a1b60d2b0cc (diff) | |
download | vSomeIP-ba0508084244a2f226a6bdd42b02bbf83a7d7575.tar.gz |
vsomeip 2.8.02.8.0
Diffstat (limited to 'interface')
-rw-r--r-- | interface/vsomeip/application.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/interface/vsomeip/application.hpp b/interface/vsomeip/application.hpp index f8591df..280957c 100644 --- a/interface/vsomeip/application.hpp +++ b/interface/vsomeip/application.hpp @@ -861,6 +861,29 @@ public: virtual void register_subscription_status_handler(service_t _service, instance_t _instance, eventgroup_t _eventgroup, event_t _event, subscription_status_handler_t _handler) = 0; + + /** + * + * \brief Registers a subscription status listener. + * + * When registered such a handler it will be called for + * every application::subscribe call. + * + * This method is intended to replace the application:: + * register_subscription_error_handler call in future releases. + * + * \param _service Service identifier of the service that is subscribed to. + * \param _instance Instance identifier of the service that is subscribed to. + * \param _eventgroup Eventgroup identifier of the eventgroup is subscribed to. + * \param _event Event indentifier of the event is subscribed to. + * \param _handler A subscription status handler which will be called by vSomeIP + * as a follow of application::subscribe. + * \param _is_selective Flag to enable calling the provided handler if the + * subscription is answered with a SUBSCRIBE_NACK. + */ + virtual void register_subscription_status_handler(service_t _service, + instance_t _instance, eventgroup_t _eventgroup, event_t _event, + subscription_status_handler_t _handler, bool _is_selective) = 0; }; /** @} */ |