cmake
[profile/ivi/smartdevicelink.git] / src / components / policy / doc / doxygen / components / TransportManager / Client Specification / DataTransfer.txt
1 /** @page components_transportmanager_client_data_transfer Data Transfer
2  *
3  * As all requests to TransportManager are asynchronous, client must implement NsSmartDeviceLink::NsTransportManager::ITransportManagerDataListener
4  * interface and add itself as a data listener with NsSmartDeviceLink::NsTransportManager::ITransportManager::addDataListener()
5  * in order to receive notifications.
6  * To send frame to remote device client must use NsSmartDeviceLink::NsTransportManager::ITransportManager::sendFrame() poviding connection handle,
7  * frame data, data size and user data. User data is an integer that is assigned to a frame and will be sent back to client when sending of frame
8  * will be completed. Client may use this data to identify frame when send result will be reported. When sending of frame is completed
9  * client is notified via NsSmartDeviceLink::NsTransportManager::ITransportManagerDataListener::onFrameSendCompleted(). When frame is received from a remote
10  * device client is notified via NsSmartDeviceLink::NsTransportManager::ITransportManagerDataListener::onFrameReceived().
11  */