MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / initAndSend

Method initAndSend

src/windscribe-cli/backendcommander.cpp:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void BackendCommander::initAndSend()
39{
40 connection_ = new IPC::Connection();
41 connect(connection_, &IPC::Connection::newCommand, this, &BackendCommander::onConnectionNewCommand, Qt::QueuedConnection);
42 connect(connection_, &IPC::Connection::stateChanged, this, &BackendCommander::onConnectionStateChanged, Qt::QueuedConnection);
43 connectingTimer_.start();
44 ipcState_ = IPC_CONNECTING;
45 connection_->connect();
46}
47
48void BackendCommander::onConnectionNewCommand(IPC::Command *command, IPC::Connection * /*connection*/)
49{

Callers 1

mainFunction · 0.80

Calls 2

startMethod · 0.45
connectMethod · 0.45

Tested by

no test coverage detected