From 7a43f6be09cfe74dc4a757e949ba88ce033ac419 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 25 Sep 2012 08:23:19 +0000 Subject: Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247) git-svn-id: http://mc-server.googlecode.com/svn/trunk@891 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Server.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/Server.h') diff --git a/source/Server.h b/source/Server.h index b3599aa1e..8d21e7834 100644 --- a/source/Server.h +++ b/source/Server.h @@ -62,11 +62,11 @@ public: //tolua_export void NotifyClientWrite(const cClientHandle * a_Client); // Notifies m_SocketThreads that client has something to be written - void WriteToClient(const cSocket * a_Socket, const AString & a_Data); // Queues outgoing data for the socket through m_SocketThreads + void WriteToClient(const cClientHandle * a_Client, const AString & a_Data); // Queues outgoing data for the client through m_SocketThreads - void QueueClientClose(const cSocket * a_Socket); // Queues the socket to close when all its outgoing data is sent + void QueueClientClose(const cClientHandle * a_Client); // Queues the clienthandle to close when all its outgoing data is sent - void RemoveClient(const cSocket * a_Socket); // Removes the socket from m_SocketThreads + void RemoveClient(const cClientHandle * a_Client); // Removes the clienthandle from m_SocketThreads CryptoPP::RSA::PrivateKey & GetPrivateKey(void) { return m_PrivateKey; } CryptoPP::RSA::PublicKey & GetPublicKey (void) { return m_PublicKey; } -- cgit v1.2.3