diff options
author | rubidium <rubidium@openttd.org> | 2011-01-22 09:53:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-01-22 09:53:15 +0000 |
commit | eb299736c1bcb277da1862afe95c11cb897effcf (patch) | |
tree | 3bb6bff78f066da770a367e078c569dbe8ce319a /src/network/core/tcp.h | |
parent | 0cdb1c78cdbfce4d426441c21ef7066f1cfecf6f (diff) | |
download | openttd-eb299736c1bcb277da1862afe95c11cb897effcf.tar.xz |
(svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n].
Diffstat (limited to 'src/network/core/tcp.h')
-rw-r--r-- | src/network/core/tcp.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h index bdb4253cd..d14de7cc1 100644 --- a/src/network/core/tcp.h +++ b/src/network/core/tcp.h @@ -58,13 +58,8 @@ private: bool killed; ///< Whether we got killed SOCKET sock; ///< The socket we're connecting with - /** The actual connection function */ void Connect(); - /** - * Entry point for the new threads. - * @param param the TCPConnecter instance to call Connect on. - */ static void ThreadEntry(void *param); protected: @@ -72,10 +67,6 @@ protected: NetworkAddress address; public: - /** - * Create a new connecter for the given address - * @param address the (un)resolved address to connect to - */ TCPConnecter(const NetworkAddress &address); /** Silence the warnings */ virtual ~TCPConnecter() {} @@ -91,15 +82,7 @@ public: */ virtual void OnFailure() {} - /** - * Check whether we need to call the callback, i.e. whether we - * have connected or aborted and call the appropriate callback - * for that. It's done this way to ease on the locking that - * would otherwise be needed everywhere. - */ static void CheckCallbacks(); - - /** Kill all connection attempts. */ static void KillAll(); }; |