MCPcopy Create free account
hub / github.com/QNapi/qnapi / reconnect

Method reconnect

gui/src/qcumber/qinterprocesschannel.cpp:157–160  ·  view source on GitHub ↗

! \brief Attemps to reconnect When the server instance is closed (or crashes...) the connectionLost() signal is emitted. As an alternative to closing the client instances it is possible to try a reconnection so that one of theclient will become a server. \note When several clients are running side by side this function is very likely to cause a fork and create several (indep

Source from the content-addressed store, hash-verified

155 \see connectionLost()
156*/
157void QInterProcessChannel::reconnect() {
158 // qDebug("attempting to reconnect");
159 init();
160}
161
162/*!
163 \internal

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected