diff options
Diffstat (limited to 'src/components/connection_handler/include/connection_handler/connection_handler_observer.h')
-rw-r--r-- | src/components/connection_handler/include/connection_handler/connection_handler_observer.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/components/connection_handler/include/connection_handler/connection_handler_observer.h b/src/components/connection_handler/include/connection_handler/connection_handler_observer.h index cd419c124..556a2dc4e 100644 --- a/src/components/connection_handler/include/connection_handler/connection_handler_observer.h +++ b/src/components/connection_handler/include/connection_handler/connection_handler_observer.h @@ -35,6 +35,7 @@ #include "connection_handler/device.h" #include "connection_handler/connection.h" +#include "connection_handler/connection_handler.h" #include "protocol/service_type.h" /** @@ -90,11 +91,14 @@ class ConnectionHandlerObserver { /** * \brief Callback function used by connection_handler * when Mobile Application initiates service ending. - * \param sessionKey Key of session which should be ended + * \param session_key Key of session which should be ended + * \param type Type of service which should be ended + * \param close_reson Service close reason */ virtual void OnServiceEndedCallback( - const int32_t &session_key, - const protocol_handler::ServiceType &type) = 0; + const int32_t& session_key, + const protocol_handler::ServiceType& type, + const connection_handler::CloseSessionReason& close_reason) = 0; protected: /** |