cmake
[profile/ivi/smartdevicelink.git] / src / components / policy / doc / doxygen / components / TransportManager / Client Specification / ConnectionManagement.txt
1 /** @page components_transportmanager_client_connection_management Connection Management
2  *
3  * As all requests to TransportManager are asynchronous, client must implement NsSmartDeviceLink::NsTransportManager::ITransportManagerDeviceListener
4  * interface and add itself as a device listener with NsSmartDeviceLink::NsTransportManager::ITransportManager::addDeviceListener()
5  * in order to receive notifications.
6  * To connect remote device client must use NsSmartDeviceLink::NsTransportManager::ITransportManager::connectDevice(). It will initiate connections to all
7  * applications running on remove device. For TCP device this call has no effect as TCP connections are initiated by remote devices.
8  * Client will be notified about each connected application with NsSmartDeviceLink::NsTransportManager::ITransportManagerDeviceListener::onApplicationConnected().
9  * To disconnect all applications running on remote device client must use NsSmartDeviceLink::NsTransportManager::ITransportManager::disconnectDevice().
10  * Client will be notified about each disconnected application with NsSmartDeviceLink::NsTransportManager::ITransportManagerDeviceListener::onApplicationDisconnected().
11  */