gloox
1.0.22
src
tlsopensslserver.h
1
/*
2
Copyright (c) 2009-2017 by Jakob Schröter <js@camaya.net>
3
This file is part of the gloox library. http://camaya.net/gloox
4
5
This software is distributed under a license. The full license
6
agreement can be found in the file LICENSE in this distribution.
7
This software may not be copied, modified, sold or distributed
8
other than expressed in the named license agreement.
9
10
This software is distributed without any warranty.
11
*/
12
13
14
15
#ifndef TLSOPENSSLSERVER_H__
16
#define TLSOPENSSLSERVER_H__
17
18
#include "tlsopensslbase.h"
19
20
#include "config.h"
21
22
#ifdef HAVE_OPENSSL
23
24
#include <openssl/ssl.h>
25
26
namespace
gloox
27
{
28
35
class
OpenSSLServer
:
public
OpenSSLBase
36
{
37
public
:
42
OpenSSLServer
(
TLSHandler
* th );
43
47
virtual
~OpenSSLServer
();
48
49
private
:
50
// reimplemented from OpenSSLBase
51
virtual
bool
privateInit();
52
// reimplemented from OpenSSLBase
53
virtual
bool
setType();
54
55
// reimplemented from OpenSSLBase
56
virtual
int
handshakeFunction();
57
58
};
59
60
}
61
62
#endif // HAVE_OPENSSL
63
64
#endif // TLSOPENSSLSERVER_H__
gloox::TLSHandler
An interface that allows for interacting with TLS implementations derived from TLSBase.
Definition:
tlshandler.h:35
gloox::OpenSSLServer
Definition:
tlsopensslserver.h:36
gloox::OpenSSLBase
Definition:
tlsopensslbase.h:37
gloox
The namespace for the gloox library.
Definition:
adhoc.cpp:28
gloox::OpenSSLServer::~OpenSSLServer
virtual ~OpenSSLServer()
Definition:
tlsopensslserver.cpp:33
gloox::OpenSSLServer::OpenSSLServer
OpenSSLServer(TLSHandler *th)
Definition:
tlsopensslserver.cpp:28
Generated on Tue Jan 22 2019 01:32:21 for gloox by
1.8.20