diff options
author | Maksym Ked (GitHub) <41471947+mked-luxoft@users.noreply.github.com> | 2019-08-29 22:28:40 +0300 |
---|---|---|
committer | Jacob Keeler <jacob.keeler@livioradio.com> | 2019-08-29 15:28:40 -0400 |
commit | e90b4aa4729ca9f64e7b6f4aa9fc746c29863f23 (patch) | |
tree | 75d35eac19de42817e387b91250faab94f7e4e70 /src/components/include/policy/policy_regular/policy/policy_listener.h | |
parent | 5905717229c512e975ca95715736db795f3105d2 (diff) | |
download | sdl_core-e90b4aa4729ca9f64e7b6f4aa9fc746c29863f23.tar.gz |
Feature/service status update to hmi (#2921)
* Added OnServiceUpdate notification
* Added handling of service status update
- introduced ServiceStatusUpdateHandler and ServiceStatusUpdateHandlerListener interfaces
- added lacking interface functions to corresponding entities
- added notification of listeners
- introduced ServiceStatusUpdateNotificationBuilder
- replaced shared_ptr with unique_ptr
- moved SERVICE_RECEIVED
* Add UT's for service status update to HMI feature
* Added ServiceStatusUpdateDocumentation
* Added sending error on PTU retries exceed allowed count
* Fix OnServiceUpdate for unsecure force protected service
* Updates according to proposal changes
Added new result codes for ServiceStatusUpdateReasonStructure
Diffstat (limited to 'src/components/include/policy/policy_regular/policy/policy_listener.h')
-rw-r--r-- | src/components/include/policy/policy_regular/policy/policy_listener.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/components/include/policy/policy_regular/policy/policy_listener.h b/src/components/include/policy/policy_regular/policy/policy_listener.h index d717822cac..bbe220060e 100644 --- a/src/components/include/policy/policy_regular/policy/policy_listener.h +++ b/src/components/include/policy/policy_regular/policy/policy_listener.h @@ -79,11 +79,13 @@ class PolicyListener { * * @param pt_string the snapshot * - * @param retry_seconds retry sequence timeouts. + * @param iteration_type flag indicating whether PTU was caused by retry + * sequence. * * @param timeout_exceed timeout. */ - virtual void OnSnapshotCreated(const BinaryMessage& pt_string) = 0; + virtual void OnSnapshotCreated(const BinaryMessage& pt_string, + const PTUIterationType iteration_type) = 0; /** * @brief Make appropriate changes for related applications permissions and @@ -119,6 +121,11 @@ class PolicyListener { virtual void OnCertificateUpdated(const std::string& certificate_data) = 0; /** + * @brief OnPTUTimeOut the callback which signals if PTU timeout occured + */ + virtual void OnPTUTimeOut() = 0; + + /** * @brief OnAuthTokenUpdated the callback which signals if an app's auth token * field has been updated during a PTU * |