summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/ControlReceiver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/src/ControlReceiver.cpp')
-rw-r--r--AudioManagerDaemon/src/ControlReceiver.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/AudioManagerDaemon/src/ControlReceiver.cpp b/AudioManagerDaemon/src/ControlReceiver.cpp
index b352d0d..5671fd0 100644
--- a/AudioManagerDaemon/src/ControlReceiver.cpp
+++ b/AudioManagerDaemon/src/ControlReceiver.cpp
@@ -207,7 +207,7 @@ am_Error_e ControlReceiver::setDomainState(const am_domainID_t domainID, const a
{
logInfo("ControlReceiver::setDomainState got called, domainID=", domainID, "domainState=", domainState);
- am_DomainState_e tempState = DS_MIN;
+ am_DomainState_e tempState = DS_UNKNOWN;
if (mDatabaseHandler->getDomainState(domainID, tempState) != E_OK)
return E_UNKNOWN;
if (tempState == domainState)
@@ -499,6 +499,18 @@ am_Error_e ControlReceiver::getSocketHandler(SocketHandler *& socketHandler)
#endif
}
+void am::ControlReceiver::setCommandRundown()
+{
+ logInfo("ControlReceiver::setCommandRundown got called");
+ mCommandSender->cbCommunicationRundown();
+}
+
+void am::ControlReceiver::setRoutingRundown()
+{
+ logInfo("ControlReceiver::setRoutingRundown got called");
+ mRoutingSender->routingInterfacesRundown();
+}
+
uint16_t ControlReceiver::getInterfaceVersion() const
{
return ControlReceiveVersion;