OpenVPN 3 Core Library
Loading...
Searching...
No Matches
reconnect_notify.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
#ifndef OPENVPN_TRANSPORT_RECONNECT_NOTIFY_H
13
#define OPENVPN_TRANSPORT_RECONNECT_NOTIFY_H
14
15
namespace
openvpn
{
16
class
ReconnectNotify
17
{
18
public
:
19
virtual
~ReconnectNotify
() =
default
;
20
21
// When a connection is close to timeout, the core will call this
22
// method. If it returns false, the core will disconnect with a
23
// CONNECTION_TIMEOUT event. If true, the core will enter a PAUSE
24
// state.
25
virtual
bool
pause_on_connection_timeout
() = 0;
26
};
27
}
// namespace openvpn
28
29
#endif
openvpn::ReconnectNotify
Definition
reconnect_notify.hpp:17
openvpn::ReconnectNotify::pause_on_connection_timeout
virtual bool pause_on_connection_timeout()=0
openvpn::ReconnectNotify::~ReconnectNotify
virtual ~ReconnectNotify()=default
openvpn
Definition
ovpncli.cpp:97
openvpn
transport
reconnect_notify.hpp
Generated by
1.9.8