tlsopensslserver.h

00001 /*
00002   Copyright (c) 2009 by Jakob Schroeter <js@camaya.net>
00003   This file is part of the gloox library. http://camaya.net/gloox
00004 
00005   This software is distributed under a license. The full license
00006   agreement can be found in the file LICENSE in this distribution.
00007   This software may not be copied, modified, sold or distributed
00008   other than expressed in the named license agreement.
00009 
00010   This software is distributed without any warranty.
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       // reimplemented from OpenSSLBase
00051       virtual bool privateInit();
00052       // reimplemented from OpenSSLBase
00053       virtual bool setType();
00054 
00055       // reimplemented from OpenSSLBase
00056       virtual int handshakeFunction();
00057 
00058   };
00059 
00060 }
00061 
00062 #endif // HAVE_OPENSSL
00063 
00064 #endif // TLSOPENSSLSERVER_H__

Generated by  doxygen 1.6.2