From fcab8098d6a9a385e0e5edfb26f4abf615da77ca Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 10 Oct 2008 15:04:28 +0200 Subject: FdManager hinzugef?gt und Verbindungsklassen angepasst --- src/Net/Connection.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Net/Connection.h') 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();} -- cgit v1.2.3