void LogServiceBase::fsmUpDisconnectEvent() { if (m_state == State::Up) { #ifdef QT_DEBUG DEBUG_TAG(1, m_debugName, "Event DISCONNECT"); #endif // handle state change emit fsmUpExited(QPrivateSignal()); fsmDown(); emit fsmDownEntered(QPrivateSignal()); // execute actions stopLogChannel(); } }
void ConfigBase::fsmLoadingDisconnectEvent() { if (m_state == State::Loading) { #ifdef QT_DEBUG DEBUG_TAG(1, m_debugName, "Event DISCONNECT"); #endif // handle state change emit fsmLoadingExited(QPrivateSignal()); fsmDown(); emit fsmDownEntered(QPrivateSignal()); // execute actions stopConfigChannel(); } }
void PreviewSubscribe::fsmTryingDisconnectEvent() { if (m_state == State::Trying) { #ifdef QT_DEBUG DEBUG_TAG(1, m_debugName, "Event DISCONNECT"); #endif // handle state change emit fsmTryingExited(QPrivateSignal()); fsmDown(); emit fsmDownEntered(QPrivateSignal()); // execute actions stopSocket(); } }
void StatusSubscribe::fsmUpStopEvent() { if (m_state == State::Up) { #ifdef QT_DEBUG DEBUG_TAG(1, m_debugName, "Event STOP"); #endif // handle state change emit fsmUpExited(QPrivateSignal()); fsmDown(); emit fsmDownEntered(QPrivateSignal()); // execute actions stopHeartbeatTimer(); stopSocket(); } }
void LauncherBase::fsmSyncedDisconnectEvent() { if (m_state == State::Synced) { #ifdef QT_DEBUG DEBUG_TAG(1, m_debugName, "Event DISCONNECT"); #endif // handle state change emit fsmSyncedExited(QPrivateSignal()); fsmDown(); emit fsmDownEntered(QPrivateSignal()); // execute actions stopLaunchercmdChannel(); stopLauncherChannel(); } }