cmake
[profile/ivi/smartdevicelink.git] / src / components / policy / doc / doxygen / components / TransportManager / Internal Design / MultiThreading.txt
1 /*! \page components_transportmanager_internal_design_multithreading Multi-Threading in Component
2
3 Internally Transport Manager uses different threads for different operations. This design solution was used to provide efficient asynchronous communication with clients and underlying Device Adapters.
4
5 Transport Manager uses one thread to operate with all device-related callbacks. In other word all callbacks declared in NsSmartDeviceLink::NsTransportManager::ITransportManagerDeviceListener will be called from that thread.
6
7 For every active connection one service thread will be created. This thread will be used for all connection-related callbacks. Therefore every implementation of NsSmartDeviceLink::NsTransportManager::ITransportManagerDataListener will be called in separated thread that allows client to support multiple connection simultaneously.
8
9 */