refactor: make ClientApp::handleClientConnected const
This commit is contained in:
parent
551368a2d2
commit
dcb047b6c5
2 changed files with 2 additions and 2 deletions
|
|
@ -241,7 +241,7 @@ void ClientApp::scheduleClientRestart(double retryTime)
|
||||||
m_events->addHandler(EventTypes::Timer, timer, [this, timer](const auto &e) { handleClientRestart(e, timer); });
|
m_events->addHandler(EventTypes::Timer, timer, [this, timer](const auto &e) { handleClientRestart(e, timer); });
|
||||||
}
|
}
|
||||||
|
|
||||||
void ClientApp::handleClientConnected()
|
void ClientApp::handleClientConnected() const
|
||||||
{
|
{
|
||||||
LOG((CLOG_NOTE "connected to server"));
|
LOG((CLOG_NOTE "connected to server"));
|
||||||
updateStatus();
|
updateStatus();
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ public:
|
||||||
void closeClientScreen(deskflow::Screen *screen);
|
void closeClientScreen(deskflow::Screen *screen);
|
||||||
void handleClientRestart(const Event &, EventQueueTimer *vtimer);
|
void handleClientRestart(const Event &, EventQueueTimer *vtimer);
|
||||||
void scheduleClientRestart(double retryTime);
|
void scheduleClientRestart(double retryTime);
|
||||||
void handleClientConnected();
|
void handleClientConnected() const;
|
||||||
void handleClientFailed(const Event &e);
|
void handleClientFailed(const Event &e);
|
||||||
void handleClientRefused(const Event &e);
|
void handleClientRefused(const Event &e);
|
||||||
void handleClientDisconnected();
|
void handleClientDisconnected();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue