59 bool sendPingPong(
int counter = -1);
Class handling the connection exchanging data using a QIODevice.
Definition ServerConnection.h:18
void setState(EState state)
EState
Definition ServerConnection.h:21
@ sPayloadRead
Definition ServerConnection.h:25
@ sPayloadProcess
Definition ServerConnection.h:26
@ sBufferWrite
Definition ServerConnection.h:27
@ sHeaderRead
Definition ServerConnection.h:24
@ sError
Definition ServerConnection.h:22
@ sNone
Definition ServerConnection.h:23
@ sWaitForRead
Definition ServerConnection.h:28
ServerConnection(QIODevice *ioDevice, QObject *parent=nullptr)
Constructor for passing a socket descriptor.
void relayThread()
Allows this instance to do main thread handling.
bool process()
Non-blocking method which processes data incoming and outgoing data from the IO device.
~ServerConnection() override
Provides a way to stop executing a thread until the main thread enables the thread again.
Definition ThreadRelay.h:37
Definition VariableCollector.h:14
Definition Application.h:10