|
OpenVPN 3 Core Library
|
#include <action.hpp>
Public Types | |
| typedef RCPtr< Action > | Ptr |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| typedef RCPtr< RC > | Ptr |
Public Member Functions | |
| virtual void | execute (std::ostream &os)=0 |
| virtual std::string | to_string () const =0 |
| 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. | |
Public Attributes | |
| std::string | mark |
Additional Inherited Members | |
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. | |
Definition at line 30 of file action.hpp.
| typedef RCPtr<Action> openvpn::Action::Ptr |
Definition at line 32 of file action.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in openvpn::TunWin::Dns< REG, NETAPI >::ActionCreate, openvpn::TunWin::Dns< REG, NETAPI >::ActionDelete, openvpn::TunWin::Dns< REG, NETAPI >::ActionApply, openvpn::TunWin::Nrpt< REG, NETAPI >::ActionCreate, openvpn::TunWin::Nrpt< REG, NETAPI >::ActionDelete, openvpn::TunWin::WFP::ActionBase, openvpn::Command, openvpn::ProcFS, openvpn::TunNetlink::NetlinkLinkSet, openvpn::TunNetlink::NetlinkAddr4, openvpn::TunNetlink::NetlinkAddr6, openvpn::TunNetlink::NetlinkAddr4PtP, openvpn::TunNetlink::NetlinkRoute4, openvpn::TunNetlink::NetlinkRoute6, openvpn::MacDNSWatchdog::DNSAction, openvpn::ProxySettings::ProxyAction, openvpn::TunWin::Util::ActionSetAdapterDomainSuffix, openvpn::TunWin::Util::ActionDeleteAllRoutesOnInterface, openvpn::TunWin::Util::TunNETSH::AddRoute4Cmd, openvpn::TunWin::Util::TunIPHELPER::AddRoute4Cmd, openvpn::WinCmd, and openvpn::WinSleep.
|
inlinevirtual |
Definition at line 37 of file action.hpp.
|
pure virtual |
Implemented in openvpn::Command, openvpn::ProcFS, openvpn::TunNetlink::NetlinkLinkSet, openvpn::TunNetlink::NetlinkAddr4, openvpn::TunNetlink::NetlinkAddr6, openvpn::TunNetlink::NetlinkAddr4PtP, openvpn::TunNetlink::NetlinkRoute4, openvpn::TunNetlink::NetlinkRoute6, openvpn::MacDNSWatchdog::DNSAction, openvpn::ProxySettings::ProxyAction, openvpn::TunWin::Dns< REG, NETAPI >::ActionCreate, openvpn::TunWin::Dns< REG, NETAPI >::ActionDelete, openvpn::TunWin::Dns< REG, NETAPI >::ActionApply, openvpn::TunWin::Nrpt< REG, NETAPI >::ActionCreate, openvpn::TunWin::Nrpt< REG, NETAPI >::ActionDelete, openvpn::TunWin::Util::ActionSetAdapterDomainSuffix, openvpn::TunWin::Util::ActionDeleteAllRoutesOnInterface, openvpn::TunWin::Util::TunNETSH::AddRoute4Cmd, openvpn::TunWin::Util::TunIPHELPER::AddRoute4Cmd, openvpn::TunWin::WFP::ActionBase, openvpn::WinCmd, and openvpn::WinSleep.
| std::string openvpn::Action::mark |
Definition at line 44 of file action.hpp.