summaryrefslogtreecommitdiffstats
path: root/src/Server.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-19 19:31:43 +0100
committermadmaxoft <github@xoft.cz>2014-01-19 19:31:43 +0100
commit3c0e8c8da0e397f3fda6b1565e7b2e9eeb4a747b (patch)
tree5eaa7eb6bfd5434d008186decd3d43e302a9c2d8 /src/Server.h
parentAdded graph of SocketThreads state transitions. (diff)
downloadcuberite-3c0e8c8da0e397f3fda6b1565e7b2e9eeb4a747b.tar
cuberite-3c0e8c8da0e397f3fda6b1565e7b2e9eeb4a747b.tar.gz
cuberite-3c0e8c8da0e397f3fda6b1565e7b2e9eeb4a747b.tar.bz2
cuberite-3c0e8c8da0e397f3fda6b1565e7b2e9eeb4a747b.tar.lz
cuberite-3c0e8c8da0e397f3fda6b1565e7b2e9eeb4a747b.tar.xz
cuberite-3c0e8c8da0e397f3fda6b1565e7b2e9eeb4a747b.tar.zst
cuberite-3c0e8c8da0e397f3fda6b1565e7b2e9eeb4a747b.zip
Diffstat (limited to 'src/Server.h')
-rw-r--r--src/Server.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Server.h b/src/Server.h
index 703a7077e..bb55e81b6 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -88,14 +88,14 @@ public: // tolua_export
const AString & GetServerID(void) const { return m_ServerID; } // tolua_export
- void ClientDestroying(const cClientHandle * a_Client); // Called by cClientHandle::Destroy(); stop m_SocketThreads from calling back into a_Client
+ /** Called by cClientHandle's destructor; stop m_SocketThreads from calling back into a_Client */
+ void ClientDestroying(const cClientHandle * a_Client);
- void NotifyClientWrite(const cClientHandle * a_Client); // Notifies m_SocketThreads that client has something to be written
+ /** Notifies m_SocketThreads that client has something to be written */
+ void NotifyClientWrite(const cClientHandle * a_Client);
void WriteToClient(const cClientHandle * a_Client, const AString & a_Data); // Queues outgoing data for the client through m_SocketThreads
- void QueueClientClose(const cClientHandle * a_Client); // Queues the clienthandle to close when all its outgoing data is sent
-
void RemoveClient(const cClientHandle * a_Client); // Removes the clienthandle from m_SocketThreads
/// Don't tick a_Client anymore, it will be ticked from its cPlayer instead