OpenVPN 3 Core Library
|
Public Member Functions | |
SetupClient (openvpn_io::io_context &io_context, const Config::Ptr &config_arg) | |
![]() | |
OPENVPN_EXCEPTION (tun_win_setup) | |
virtual DWORD | vpn_interface_index () const |
![]() | |
virtual | ~DestructorBase ()=default |
![]() | |
RC () noexcept=default | |
RC (const RC &)=delete | |
virtual | ~RC ()=default |
RC & | operator= (const RC &)=delete |
olong | use_count () const noexcept |
Delegates call to RCImpl and returns the result. | |
Static Public Member Functions | |
template<class T > | |
static WS::ClientSet::TransactionSet::Ptr | new_transaction_set (const std::string &host, int debug_level, const std::string &client_exe, T cb) |
static void | make_transaction (const std::string &method, const std::string &content, WS::ClientSet::TransactionSet::Ptr ts) |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
Private Member Functions | |
HANDLE | get_handle (std::ostream &os) override |
void | set_adapter_state (const TunWin::Util::TapNameGuidPair &tap) override |
TunWin::Util::TapNameGuidPair | get_adapter_state () override |
HANDLE | establish (const TunBuilderCapture &pull, const std::wstring &openvpn_app_path, Stop *stop, std::ostream &os, TunWin::RingBuffer::Ptr ring_buffer) override |
void | l2_finish (const TunBuilderCapture &pull, Stop *stop, std::ostream &os) override |
bool | l2_ready (const TunBuilderCapture &pull) override |
void | confirm () override |
void | set_service_fail_handler (std::function< void()> &&handler) override |
void | destroy (std::ostream &os) override |
Json::Value | get_json_result (std::ostream &os, WS::ClientSet::TransactionSet &ts) |
Private Attributes | |
TunWin::Util::TapNameGuidPair | tap_ |
Config::Ptr | config |
openvpn_io::windows::object_handle | service_process |
Win::Event | confirm_event |
Win::DestroyEvent | destroy_event |
Additional Inherited Members | |
![]() | |
typedef RCPtr< SetupBase > | Ptr |
![]() | |
typedef RCPtr< DestructorBase > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
Definition at line 85 of file cmdagent.hpp.
|
inline |
Definition at line 88 of file cmdagent.hpp.
|
inlineoverrideprivatevirtual |
Reimplemented from openvpn::TunWin::SetupBase.
Definition at line 265 of file cmdagent.hpp.
|
inlineoverrideprivatevirtual |
Implements openvpn::DestructorBase.
Definition at line 281 of file cmdagent.hpp.
|
inlineoverrideprivatevirtual |
Implements openvpn::TunWin::SetupBase.
Definition at line 193 of file cmdagent.hpp.
|
inlineoverrideprivatevirtual |
Implements openvpn::TunWin::SetupBase.
Definition at line 188 of file cmdagent.hpp.
|
inlineoverrideprivatevirtual |
Implements openvpn::TunWin::SetupBase.
Definition at line 138 of file cmdagent.hpp.
|
inlineprivate |
|
inlineoverrideprivatevirtual |
Implements openvpn::TunWin::SetupBase.
Definition at line 253 of file cmdagent.hpp.
|
inlineoverrideprivatevirtual |
Implements openvpn::TunWin::SetupBase.
Definition at line 260 of file cmdagent.hpp.
|
inlinestatic |
|
inlinestatic |
|
inlineoverrideprivatevirtual |
Implements openvpn::TunWin::SetupBase.
Definition at line 183 of file cmdagent.hpp.
|
inlineoverrideprivatevirtual |
Reimplemented from openvpn::TunWin::SetupBase.
Definition at line 270 of file cmdagent.hpp.
|
private |
Definition at line 337 of file cmdagent.hpp.
|
private |
Definition at line 339 of file cmdagent.hpp.
|
private |
Definition at line 340 of file cmdagent.hpp.
|
private |
Definition at line 338 of file cmdagent.hpp.
|
private |
Definition at line 181 of file cmdagent.hpp.