OpenVPN 3 Core Library
|
#include <nrpt.hpp>
Public Member Functions | |
ActionDelete (DWORD process_id) | |
void | execute (std::ostream &log) override |
Delete all rules this process has set. | |
std::string | to_string () const override |
Return the log message. | |
![]() | |
virtual Json::Value | to_json () const |
virtual | ~Action ()=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. | |
Protected Attributes | |
DWORD | process_id_ |
Additional Inherited Members | |
![]() | |
typedef RCPtr< Action > | Ptr |
![]() | |
typedef RCPtr< RC > | Ptr |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
![]() | |
std::string | mark |
|
inline |
|
inlineoverridevirtual |
Delete all rules this process has set.
Note that the ActionCreate and ActionDelete must be executed from the same process for this to work reliably
log | where the log message goes |
Implements openvpn::Action.
|
inlineoverridevirtual |
Return the log message.
Implements openvpn::Action.
Definition at line 491 of file nrpt.hpp.
|
protected |