summaryrefslogtreecommitdiff
path: root/src/components/include/protocol_handler/session_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/protocol_handler/session_observer.h')
-rw-r--r--src/components/include/protocol_handler/session_observer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/include/protocol_handler/session_observer.h b/src/components/include/protocol_handler/session_observer.h
index cdf4267188..593ce8408c 100644
--- a/src/components/include/protocol_handler/session_observer.h
+++ b/src/components/include/protocol_handler/session_observer.h
@@ -179,6 +179,13 @@ class SessionObserver {
virtual void OnMalformedMessageCallback(const uint32_t& connection_key) = 0;
/**
+ * @brief Callback function used by ProtocolHandler when the last message was
+ * sent for a mobile connection
+ * @param connection_key used by other components as an application identifier
+ */
+ virtual void OnFinalMessageCallback(const uint32_t& connection_key) = 0;
+
+ /**
* @brief Converts connection handle to transport type string used in
* smartDeviceLink.ini file, e.g. "TCP_WIFI"
* @param connection_handle A connection identifier