diff options
author | Manuel Schneider | 2014-04-29 20:39:09 +0200 |
---|---|---|
committer | Manuel Schneider | 2014-04-29 20:39:09 +0200 |
commit | 03e3100c37fb9ce55ea63f74bec0b72acedf7ed0 (patch) | |
tree | 162276a7b7ca0ec8fd64ebc9792a1024bc385cbe /src/server/net/client.h | |
parent | Adding comments for each method in the .cpp files and class definition in the... (diff) | |
download | pvs2-03e3100c37fb9ce55ea63f74bec0b72acedf7ed0.tar.gz pvs2-03e3100c37fb9ce55ea63f74bec0b72acedf7ed0.tar.xz pvs2-03e3100c37fb9ce55ea63f74bec0b72acedf7ed0.zip |
Increased the timeout for debugging purposes; Instruct vncserver to trasmit just
the primary desktop; Thumbnails just display the primary dektop
Diffstat (limited to 'src/server/net/client.h')
-rw-r--r-- | src/server/net/client.h | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/src/server/net/client.h b/src/server/net/client.h index cce653e..2de631d 100644 --- a/src/server/net/client.h +++ b/src/server/net/client.h @@ -33,22 +33,32 @@ private: NetworkMessage _toClient, _fromClient; int _timerIdAuthTimeout, _timerDelete, _timerPingTimeout; - int _id; // this client's unique id - - // If this client should be projected to from another client, the other client's id is set here. 0 otherwise. - // This is not currently used and it is questionable if this makes sense, as it might just be confusing if - // several groups students watch different other students. - // Also, visualizing such a situation in the GUI in a meaningful way would be hard. + // this client's unique id + int _id; + + // If this client should be projected to from another client, the other + // client's id is set here. 0 otherwise. This is not currently used and it is + // questionable if this makes sense, as it might just be confusing if several + // groups students watch different other students. Also, visualizing such a + // situation in the GUI in a meaningful way would be hard. int _desiredProjectionSource; - // This boolean tells whether this client is currently the VNC broadcast source. This - // version only allows "one to all others" setups + + // This boolean tells whether this client is currently the VNC broadcast + // source. This version only allows "one to all others" setups bool _isProjectionSource; int _currentProjectionSource; QString _vncRwPass, _vncRoPass; + + // Indicates the state of the client. The clients acts as VNC server if this + // port is set. If this value is less than or equal to 0 ist is no server. int _vncPort; + + // Flag indicating that the client is displaying a remote screen via VNC bool _activeVncClient; + + // Flag indicating that the hab been set as a tutor bool _isTutor; void handleMsg(); |