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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/components/include/connection_handler/connection_handler.h b/src/components/include/connection_handler/connection_handler.h
index c70861b5f6..3402dcae41 100644
--- a/src/components/include/connection_handler/connection_handler.h
+++ b/src/components/include/connection_handler/connection_handler.h
@@ -130,6 +130,15 @@ class ConnectionHandler {
virtual void SendEndService(uint32_t key, uint8_t service_type) = 0;
/**
+ * @brief Check is heartbeat monitoring started for specified connection key
+ * @param connection_key pair of connection and session id
+ * @return returns true if heartbeat monitoring started for specified
+ * connection key otherwise returns false
+ */
+ virtual bool IsSessionHeartbeatTracked(
+ const uint32_t connection_key) const = 0;
+
+ /**
* \brief Start heartbeat for specified session
*
* \param connection_key pair of connection and session id