summaryrefslogtreecommitdiff
path: root/src/components/include/transport_manager/transport_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/transport_manager/transport_manager.h')
-rw-r--r--src/components/include/transport_manager/transport_manager.h27
1 files changed, 21 insertions, 6 deletions
diff --git a/src/components/include/transport_manager/transport_manager.h b/src/components/include/transport_manager/transport_manager.h
index 275608c315..ce92bfd9cb 100644
--- a/src/components/include/transport_manager/transport_manager.h
+++ b/src/components/include/transport_manager/transport_manager.h
@@ -69,6 +69,21 @@ class TransportManager {
virtual int Reinit() = 0;
/**
+ * @brief Deinitializes all transport adapters and device instances
+ */
+ virtual void Deinit() = 0;
+
+ /**
+ * @brief Stops transport events processing handler threads
+ */
+ virtual void StopEventsProcessing() = 0;
+
+ /**
+ * @brief Resumes transport events processing handler threads
+ */
+ virtual void StartEventsProcessing() = 0;
+
+ /**
* @brief Start scanning for new devices.
*
* @return Code error.
@@ -193,13 +208,13 @@ class TransportManager {
virtual int RemoveDevice(const DeviceHandle device_handle) = 0;
/**
- * @brief Turns on or off visibility of SDL to mobile devices
- * when visibility is ON (on_off = true) mobile devices are able to connect
- * otherwise ((on_off = false)) SDL is not visible from outside
- *
- * @return Code error.
+ * @brief Performs specified action on connected clients
+ * @param required_action is the action which should be performed for the
+ * connected clients
+ * @return error code
*/
- virtual int Visibility(const bool& on_off) const = 0;
+ virtual int PerformActionOnClients(
+ const TransportAction required_action) const = 0;
};
} // namespace transport_manager
#endif // SRC_COMPONENTS_INCLUDE_TRANSPORT_MANAGER_TRANSPORT_MANAGER_H_