4 #include "../../shared/networkmessage.h"
28 explicit Client(QTcpSocket* socket);
void setExamMode(bool mode)
void setTutor(bool enable)
void authenticating(Client *client, ClientLogin *request)
const QString & host() const
void authenticated(Client *client)
NetworkMessage _fromClient
void timerEvent(QTimerEvent *event) override
QTcpSocket *const _socket
bool wantsAttention() const
void disconnect(const char *errmsg)
void startVncClient(const Client *to)
void setDesiredProjectionSource(int id)
void sendMessage(NetworkMessage &message)
bool isActiveVncClient() const
const QString & name() const
void thumbUpdated(Client *client, const QImage &thumb)
void removeAttentionInternal()
int projectionSource() const
void requestThumb(const QSize &size)
bool isActiveVncServer() const
Client(QTcpSocket *socket)
bool isManagerMachine() const
Checks if client and manager runs on same machine.
void vncClientStateChange(Client *client)
void vncServerStateChange(Client *client)
static int _clientIdCounter
int desiredProjectionSource() const
QByteArray _rawRemoteScreen