CppWAMP
C++11 client library for the WAMP protocol
challengee.hpp
1
/*------------------------------------------------------------------------------
2
Copyright Butterfly Energy Systems 2022.
3
Distributed under the Boost Software License, Version 1.0.
4
http://www.boost.org/LICENSE_1_0.txt
5
------------------------------------------------------------------------------*/
6
7
#ifndef CPPWAMP_INTERNAL_CHALLENGEE_HPP
8
#define CPPWAMP_INTERNAL_CHALLENGEE_HPP
9
10
#include <memory>
11
12
namespace
wamp
13
{
14
15
class
Authentication;
16
17
namespace
internal
18
{
19
20
//------------------------------------------------------------------------------
21
class
Challengee
22
{
23
public
:
24
using
WeakPtr = std::weak_ptr<Challengee>;
25
26
virtual
~Challengee() {}
27
28
virtual
void
safeAuthenticate(Authentication&&) = 0;
29
};
30
31
}
// namespace internal
32
33
}
// namespace wamp
34
35
#endif // CPPWAMP_INTERNAL_CHALLENGEE_HPP
wamp
Definition:
anyhandler.hpp:36
cppwamp
internal
challengee.hpp
Generated on Sat Aug 13 2022 20:54:38 for CppWAMP by
1.8.17