00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef CONNECTIONTLSSERVER_H__
00014 #define CONNECTIONTLSSERVER_H__
00015
00016 #include "macros.h"
00017 #include "logsink.h"
00018 #include "connectionbase.h"
00019 #include "connectiontls.h"
00020 #include "tlsdefault.h"
00021 #include "tlshandler.h"
00022
00023 #include <string>
00024
00025 namespace gloox
00026 {
00027
00028 class ConnectionDataHandler;
00029
00038 class GLOOX_API ConnectionTLSServer : public ConnectionTLS
00039 {
00040 public:
00049 ConnectionTLSServer( ConnectionDataHandler* cdh, ConnectionBase* conn, const LogSink& log );
00050
00058 ConnectionTLSServer( ConnectionBase* conn, const LogSink& log );
00059
00063 virtual ~ConnectionTLSServer();
00064
00069 virtual TLSBase* getTLSBase( TLSHandler* th, const std::string server );
00070
00071
00072 virtual ConnectionBase* newInstance() const;
00073
00074 private:
00075 ConnectionTLSServer& operator=( const ConnectionTLSServer& );
00076
00077 };
00078
00079 }
00080
00081 #endif // CONNECTIONTLSSERVER_H__