summaryrefslogtreecommitdiffstats
path: root/src/Common/Connection.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-23 20:57:00 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-23 20:57:00 +0200
commit415cd36477e152c12f91a10ad61bb719373cd9d1 (patch)
tree0c235f3b1f9b844313e81eb9e900fa2662ebefcc /src/Common/Connection.h
parent6666bbf908b3f2a61a9ec1959e975de54dc23b0d (diff)
downloadmad-415cd36477e152c12f91a10ad61bb719373cd9d1.tar
mad-415cd36477e152c12f91a10ad61bb719373cd9d1.zip
Authentifikation hinzugefügt.
Diffstat (limited to 'src/Common/Connection.h')
-rw-r--r--src/Common/Connection.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/Common/Connection.h b/src/Common/Connection.h
index e0c9ce6..bcf6c44 100644
--- a/src/Common/Connection.h
+++ b/src/Common/Connection.h
@@ -39,12 +39,10 @@ class XmlPacket;
class MAD_COMMON_EXPORT Connection : private boost::noncopyable {
private:
- bool authenticated;
-
Core::Signals::Signal2<boost::shared_ptr<const XmlPacket>, boost::uint16_t> signalReceive;
protected:
- Connection(Core::Application *application) : authenticated(0), signalReceive(application) {}
+ Connection(Core::Application *application) : signalReceive(application) {}
void receive(boost::shared_ptr<Net::Packet> packet);
@@ -66,14 +64,6 @@ class MAD_COMMON_EXPORT Connection : private boost::noncopyable {
virtual bool disconnect() = 0;
//virtual void* getCertificate(size_t *size) const = 0;
//virtual void* getPeerCertificate(size_t *size) const = 0;
-
- void setAuthenticated() {
- authenticated = true;
- }
-
- bool isAuthenticated() const {
- return authenticated;
- }
};
}