summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-07-28 19:15:03 +0200
committermadmaxoft <github@xoft.cz>2013-07-28 19:15:03 +0200
commit4746d2251c6204118e710c818d78b89c356a7427 (patch)
tree2573e0b5e70b04aebc35d5da034c8449ff696f3d /source/ClientHandle.h
parentProtoProxy now properly waits for both sides to establish encryption (diff)
downloadcuberite-4746d2251c6204118e710c818d78b89c356a7427.tar
cuberite-4746d2251c6204118e710c818d78b89c356a7427.tar.gz
cuberite-4746d2251c6204118e710c818d78b89c356a7427.tar.bz2
cuberite-4746d2251c6204118e710c818d78b89c356a7427.tar.lz
cuberite-4746d2251c6204118e710c818d78b89c356a7427.tar.xz
cuberite-4746d2251c6204118e710c818d78b89c356a7427.tar.zst
cuberite-4746d2251c6204118e710c818d78b89c356a7427.zip
Diffstat (limited to 'source/ClientHandle.h')
-rw-r--r--source/ClientHandle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/ClientHandle.h b/source/ClientHandle.h
index a06aca39f..9cf1a3326 100644
--- a/source/ClientHandle.h
+++ b/source/ClientHandle.h
@@ -281,6 +281,9 @@ private:
/// Buffer for received messages to be processed in the Tick thread
AStringList m_PendingMessages;
+
+ static int s_ClientCount;
+ int m_UniqueID;
@@ -307,14 +310,11 @@ private:
/// Processes the messages in m_PendingMessages; called from the Tick thread
void ProcessPendingMessages(void);
-
+
// cSocketThreads::cCallback overrides:
virtual void DataReceived (const char * a_Data, int a_Size) override; // Data is received from the client
virtual void GetOutgoingData(AString & a_Data) override; // Data can be sent to client
virtual void SocketClosed (void) override; // The socket has been closed for any reason
-
- static int s_ClientCount;
- int m_UniqueID;
}; // tolua_export