OpenVPN 3 Core Library
Loading...
Searching...
No Matches
listener.hpp
Go to the documentation of this file.
1
// OpenVPN -- An application to securely tunnel IP networks
2
// over a single port, with support for SSL/TLS-based
3
// session authentication and key exchange,
4
// packet encryption, packet authentication, and
5
// packet compression.
6
//
7
// Copyright (C) 2012- OpenVPN Inc.
8
//
9
// SPDX-License-Identifier: MPL-2.0 OR AGPL-3.0-only WITH openvpn3-openssl-exception
10
//
11
12
#pragma once
13
14
#include <
openvpn/common/rc.hpp
>
15
#include <
openvpn/acceptor/base.hpp
>
16
17
namespace
openvpn
{
18
// generic structure implemented by the various proxies used by PGProxy
19
struct
ProxyListener
:
public
Acceptor::ListenerBase
20
{
21
typedef
RCPtr<ProxyListener>
Ptr
;
22
23
virtual
void
start
() = 0;
24
virtual
void
stop
() = 0;
25
};
26
}
// namespace openvpn
base.hpp
openvpn::RCPtr
The smart pointer class.
Definition
rc.hpp:119
openvpn
Definition
ovpncli.cpp:97
rc.hpp
openvpn::Acceptor::ListenerBase
Definition
base.hpp:35
openvpn::ProxyListener
Definition
listener.hpp:20
openvpn::ProxyListener::stop
virtual void stop()=0
openvpn::ProxyListener::start
virtual void start()=0
openvpn::ProxyListener::Ptr
RCPtr< ProxyListener > Ptr
Definition
listener.hpp:21
openvpn
proxy
listener.hpp
Generated by
1.9.8