summaryrefslogtreecommitdiff
path: root/src/components/include/connection_handler/connection_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/connection_handler/connection_handler.h')
-rw-r--r--src/components/include/connection_handler/connection_handler.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/components/include/connection_handler/connection_handler.h b/src/components/include/connection_handler/connection_handler.h
index de78024e61..c5995fbbb8 100644
--- a/src/components/include/connection_handler/connection_handler.h
+++ b/src/components/include/connection_handler/connection_handler.h
@@ -48,7 +48,13 @@
*/
namespace connection_handler {
-enum CloseSessionReason { kCommon = 0, kFlood, kMalformed, kUnauthorizedApp };
+enum CloseSessionReason {
+ kCommon = 0,
+ kFlood,
+ kMalformed,
+ kUnauthorizedApp,
+ kFinalMessage
+};
class ConnectionHandlerObserver;
@@ -297,7 +303,8 @@ class ConnectionHandler {
virtual void NotifyServiceStartedResult(
uint32_t session_key,
bool result,
- std::vector<std::string>& rejected_params) = 0;
+ std::vector<std::string>& rejected_params,
+ const std::string& reason) = 0;
/**
* \brief Called when secondary transport with given session ID is established