summaryrefslogtreecommitdiffstats
path: root/src/Net/Connection.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-10-10 15:04:28 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-10-10 15:04:28 +0200
commitfcab8098d6a9a385e0e5edfb26f4abf615da77ca (patch)
tree7ae3ff0d47bab59a409ccebb036e339894493b80 /src/Net/Connection.h
parent535a6e799ee98e745c85c655c5db3279fd25c1bc (diff)
downloadmad-fcab8098d6a9a385e0e5edfb26f4abf615da77ca.tar
mad-fcab8098d6a9a385e0e5edfb26f4abf615da77ca.zip
FdManager hinzugef?gt und Verbindungsklassen angepasst
Diffstat (limited to 'src/Net/Connection.h')
-rw-r--r--src/Net/Connection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Net/Connection.h b/src/Net/Connection.h
index 77b8cc4..0d7e6cf 100644
--- a/src/Net/Connection.h
+++ b/src/Net/Connection.h
@@ -74,6 +74,8 @@ class Connection {
void bye();
+ void updateEvents() const;
+
// Prevent shallow copy
Connection(const Connection &o);
Connection& operator=(const Connection &o);
@@ -146,11 +148,9 @@ class Connection {
void disconnect();
- struct pollfd getPollfd() const;
-
bool send(const Packet &packet);
- void sendReceive(short events = POLLIN|POLLOUT);
+ void sendReceive(short events);
bool sendQueueEmpty() const {return transS.empty();}