diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-06-12 21:42:26 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-06-12 21:42:26 +0200 |
commit | d2969d6f715949521e49a9b99c947ada86b1b49f (patch) | |
tree | bb3d0db8509cc2d44c5db174ec26755080639577 /src/Net/Connection.h | |
parent | 4b0778537ea5f1c4d7592639208e7c235abab260 (diff) | |
download | mad-d2969d6f715949521e49a9b99c947ada86b1b49f.tar mad-d2969d6f715949521e49a9b99c947ada86b1b49f.zip |
ServerConnection hinzugef?gt.
Diffstat (limited to 'src/Net/Connection.h')
-rw-r--r-- | src/Net/Connection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Net/Connection.h b/src/Net/Connection.h index 1879f9e..80b721f 100644 --- a/src/Net/Connection.h +++ b/src/Net/Connection.h @@ -46,6 +46,8 @@ class Connection { virtual bool isConnected() const = 0; virtual const IPAddress* getPeer() const = 0; + virtual bool dataPending() = 0; + bool send(const Packet &packet); bool recieve(); |