From 415cd36477e152c12f91a10ad61bb719373cd9d1 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 23 Aug 2009 20:57:00 +0200 Subject: =?UTF-8?q?Authentifikation=20hinzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Common/Connection.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/Common/Connection.h') 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::uint16_t> signalReceive; protected: - Connection(Core::Application *application) : authenticated(0), signalReceive(application) {} + Connection(Core::Application *application) : signalReceive(application) {} void receive(boost::shared_ptr 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; - } }; } -- cgit v1.2.3