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.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/components/include/connection_handler/connection_handler.h b/src/components/include/connection_handler/connection_handler.h
index c70861b5f6..678f8e8fab 100644
--- a/src/components/include/connection_handler/connection_handler.h
+++ b/src/components/include/connection_handler/connection_handler.h
@@ -80,6 +80,8 @@ class ConnectionHandler {
virtual void RunAppOnDevice(const std::string& device_handle,
const std::string& bundle_id) const = 0;
+ virtual void OnDeviceConnectionSwitched(const std::string& device_mac) = 0;
+
virtual void ConnectToAllDevices() = 0;
/**
@@ -168,18 +170,6 @@ class ConnectionHandler {
uint8_t protocol_version) = 0;
/**
- * \brief information about given Connection Key.
- * \param key Unique key used by other components as session identifier
- * \param app_id Returned: ApplicationID
- * \param sessions_list Returned: List of session keys
- * \param device_id Returned: DeviceID
- * \return int32_t -1 in case of error or 0 in case of success
- */
- virtual int32_t GetDataOnSessionKey(uint32_t key,
- uint32_t* app_id,
- std::list<int32_t>* sessions_list,
- uint32_t* device_id) const = 0;
- /**
* @brief GetConnectedDevicesMAC allows to obtain MAC adresses for all
* currently connected devices.
*