diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-17 18:59:52 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-17 18:59:52 +0000 |
commit | 982562fa19bb87a3dab352e562f386f61c171b7b (patch) | |
tree | aeade8d5b7d3c68f5c222af1d8ecc6a734e1b43f /src/net/tcpclient.h | |
parent | d198b7b8d9ff713d891f35ab173d1f428f610e7d (diff) |
major rewrite of Cvar, Func and Entity
Diffstat (limited to 'src/net/tcpclient.h')
-rw-r--r-- | src/net/tcpclient.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/tcpclient.h b/src/net/tcpclient.h index 0fcb4b6..943531e 100644 --- a/src/net/tcpclient.h +++ b/src/net/tcpclient.h @@ -39,15 +39,15 @@ public: void abort(); /// Sends outgoing data - void send(std::string const &msg); - + virtual void send(std::string const &msg); + + /// receives incoming data + virtual void receive(std::string &msg); + +protected: /// Called by receive() when the client has disconnected /// @see receive - virtual void disconnect(); - -protected: - /// receives incoming data - void receive(std::string &msg); + virtual void client_disconnect(); private: int tcpclient_fd; |