diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-05-06 17:39:30 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-05-06 17:39:30 +0200 |
commit | 8324b947487f72fd8cfc439ea5ae5bd1187fff1b (patch) | |
tree | e7fb69f3207654b5e3d4ba260d3f51082b1d399a /src/Common/ClientConnection.h | |
parent | 5bf3e2229015d93808bb0c2f4729c2c4f4da414e (diff) | |
download | mad-8324b947487f72fd8cfc439ea5ae5bd1187fff1b.tar mad-8324b947487f72fd8cfc439ea5ae5bd1187fff1b.zip |
Exception und ThreadHandler nach Net verschoben
Diffstat (limited to 'src/Common/ClientConnection.h')
-rw-r--r-- | src/Common/ClientConnection.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Common/ClientConnection.h b/src/Common/ClientConnection.h index 7e422b0..28a7016 100644 --- a/src/Common/ClientConnection.h +++ b/src/Common/ClientConnection.h @@ -21,7 +21,7 @@ #define MAD_COMMON_CLIENTCONNECTION_H_ #include "Connection.h" -#include "Exception.h" +#include <Net/Exception.h> namespace Mad { @@ -37,13 +37,13 @@ class ClientConnection : public Connection { Net::ClientConnection *connection; protected: - virtual bool send(const Net::Packet &packet); + virtual void send(const Net::Packet &packet); public: ClientConnection(); virtual ~ClientConnection() {} - void connect(const Net::IPAddress &address, bool daemon = false) throw(Common::Exception); + void connect(const Net::IPAddress &address, bool daemon = false) throw(Net::Exception); bool isConnecting() const; bool isConnected() const; |