diff options
author | Martin Koch <martin.koch@ese.de> | 2020-06-25 11:01:53 +0200 |
---|---|---|
committer | Martin Koch <martin.koch@ese.de> | 2020-07-01 14:37:32 +0200 |
commit | 3270ab2427164fa41c3bcb4e2662ea625f926d84 (patch) | |
tree | 0f805b29e63cd5faa644ff39261ab0319114c308 | |
parent | 12885c9560aea0fc0bd5cf808cd7b97107072f09 (diff) | |
download | audiomanager-3270ab2427164fa41c3bcb4e2662ea625f926d84.tar.gz |
AM: add parameter domainID to asyncTransferConnection()
Signed-off-by: Martin Koch <martin.koch@ese.de>
-rw-r--r-- | AudioManagerCore/src/CAmRoutingSender.cpp | 2 | ||||
-rw-r--r-- | include/IAmRouting.h | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/AudioManagerCore/src/CAmRoutingSender.cpp b/AudioManagerCore/src/CAmRoutingSender.cpp index 399de9a..b7da1c4 100644 --- a/AudioManagerCore/src/CAmRoutingSender.cpp +++ b/AudioManagerCore/src/CAmRoutingSender.cpp @@ -927,7 +927,7 @@ am_Error_e CAmRoutingSender::asyncTransferConnection(const am_Handle_s handle, a auto iter = mMapDomainInterface.find(domainID); if (iter != mMapDomainInterface.end() && iter->second) { - return iter->second->asyncTransferConnection(handle, route, state); + return iter->second->asyncTransferConnection(handle, domainID, route, state); } // given domain not found in map diff --git a/include/IAmRouting.h b/include/IAmRouting.h index 28e8ac9..c58c721 100644 --- a/include/IAmRouting.h +++ b/include/IAmRouting.h @@ -418,14 +418,15 @@ public: * Forward hand-over of a connection meant to survive AM shutdown
* in routing-side application
*
- * @param handle: composite identifier used to map the response
- * @param route: names of involved sources and sinks including intermediate gateways
- * @param state: either stable CS_CONNECTED, CS_DISCONNECTED, CS_SUSPENDED
- * or transient CS_CONNECTING, CS_DISCONNECTING
+ * @param handle: composite identifier used to map the response
+ * @param domainID: target domain for this offering
+ * @param route: names of involved sources and sinks including intermediate gateways
+ * @param state: either stable CS_CONNECTED, CS_DISCONNECTED, CS_SUSPENDED
+ * or transient CS_CONNECTING, CS_DISCONNECTING
*
* @return success indicator as obtained from the plugins, e.g E_OK or E_COMMUNICATION
*/
- virtual am_Error_e asyncTransferConnection(const am_Handle_s handle
+ virtual am_Error_e asyncTransferConnection(const am_Handle_s handle, am_domainID_t domainID
, const std::vector<std::pair<std::string, std::string>> &route
, am_ConnectionState_e state)
{
|