MCPcopy Create free account
hub / github.com/deskflow/deskflow / DaemonIpcClient

Method DaemonIpcClient

src/lib/gui/ipc/DaemonIpcClient.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19const auto kRetryLimit = 3;
20
21DaemonIpcClient::DaemonIpcClient(QObject *parent)
22 : QObject(parent),
23 m_socket{new QLocalSocket(this)} // NOSONAR - Qt memory
24{
25 connect(m_socket, &QLocalSocket::disconnected, this, &DaemonIpcClient::handleDisconnected);
26 connect(m_socket, &QLocalSocket::errorOccurred, this, &DaemonIpcClient::handleErrorOccurred);
27}
28
29bool DaemonIpcClient::connectToServer()
30{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected