summaryrefslogtreecommitdiff
path: root/src/components/connection_handler/include/connection_handler/connection_handler_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/connection_handler/include/connection_handler/connection_handler_impl.h')
-rw-r--r--src/components/connection_handler/include/connection_handler/connection_handler_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/connection_handler/include/connection_handler/connection_handler_impl.h b/src/components/connection_handler/include/connection_handler/connection_handler_impl.h
index 08b64ec9b8..3bfa5b34b8 100644
--- a/src/components/connection_handler/include/connection_handler/connection_handler_impl.h
+++ b/src/components/connection_handler/include/connection_handler/connection_handler_impl.h
@@ -35,6 +35,7 @@
#include <list>
#include <map>
+#include <set>
#include <string>
#include <vector>
@@ -272,6 +273,8 @@ class ConnectionHandlerImpl
*/
void OnMalformedMessageCallback(const uint32_t& connection_key) OVERRIDE;
+ void OnFinalMessageCallback(const uint32_t& connection_key) OVERRIDE;
+
/**
* @brief Converts connection handle to transport type string used in
* smartDeviceLink.ini file, e.g. "TCP_WIFI"
@@ -646,6 +649,10 @@ class ConnectionHandlerImpl
**/
void RemoveConnection(const ConnectionHandle connection_handle);
+ /**
+ * @brief Called when connection is closed.
+ * @param connection_id Connection unique identifier.
+ */
void OnConnectionEnded(const transport_manager::ConnectionUID connection_id);
const uint8_t GetSessionIdFromSecondaryTransport(