|
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. | |
Public Member Functions inherited from openvpn::Action | |
| virtual Json::Value | to_json () const |
| virtual | ~Action ()=default |
Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| 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 | |
Public Types inherited from openvpn::Action | |
| using | Ptr = RCPtr< Action > |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| using | Ptr = RCPtr< RC > |
Static Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result. | |
Public Attributes inherited from openvpn::Action | |
| 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 |