tlsopensslserver.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef TLSOPENSSLSERVER_H__
00016 #define TLSOPENSSLSERVER_H__
00017
00018 #include "tlsopensslbase.h"
00019
00020 #include "config.h"
00021
00022 #ifdef HAVE_OPENSSL
00023
00024 #include <openssl/ssl.h>
00025
00026 namespace gloox
00027 {
00028
00035 class OpenSSLServer : public OpenSSLBase
00036 {
00037 public:
00042 OpenSSLServer( TLSHandler* th );
00043
00047 virtual ~OpenSSLServer();
00048
00049 private:
00050
00051 virtual bool privateInit();
00052
00053 virtual bool setType();
00054
00055
00056 virtual int handshakeFunction();
00057
00058 };
00059
00060 }
00061
00062 #endif // HAVE_OPENSSL
00063
00064 #endif // TLSOPENSSLSERVER_H__