void LogServiceBase::fsmDownConnectEvent() { if (m_state == State::Down) { #ifdef QT_DEBUG DEBUG_TAG(1, m_debugName, "Event CONNECT"); #endif // handle state change emit fsmDownExited(QPrivateSignal()); fsmUp(); emit fsmUpEntered(QPrivateSignal()); // execute actions startLogChannel(); } }
void StatusSubscribe::fsmDownStartEvent() { if (m_state == State::Down) { #ifdef QT_DEBUG DEBUG_TAG(1, m_debugName, "Event START"); #endif // handle state change emit fsmDownExited(QPrivateSignal()); fsmTrying(); emit fsmTryingEntered(QPrivateSignal()); // execute actions startSocket(); } }