|
OpenVPN 3 Core Library
|
#include <peeraddr.hpp>
Public Types | |
| using | Ptr = RCPtr< PeerAddr > |
Public Member Functions | |
| PeerAddr () | |
| std::string | to_string () const |
| Json::Value | to_json (bool convert_mapped_addresses=false) const |
Public Member Functions inherited from openvpn::RCCopyable< thread_unsafe_refcount > | |
| virtual | ~RCCopyable ()=default |
| RCCopyable () noexcept=default | |
| RCCopyable (const RCCopyable &) noexcept | |
| Construct a new RCCopyable object. | |
| RCCopyable (RCCopyable &&) noexcept | |
| Construct a new RCCopyable object by move. | |
| RCCopyable & | operator= (const RCCopyable &) noexcept |
| Ensures the new ref count is not copied with the rest of the object. | |
| RCCopyable & | operator= (RCCopyable &&) noexcept |
| Ensures the new ref count is not moved with the rest of the object. | |
| olong | use_count () const noexcept |
| Returns the use count as reported by defering to the injected ref count type. | |
Public Attributes | |
| AddrPort | remote |
| AddrPort | local |
| bool | tcp |
Definition at line 57 of file peeraddr.hpp.
| using openvpn::PeerAddr::Ptr = RCPtr<PeerAddr> |
Definition at line 59 of file peeraddr.hpp.
|
inline |
Definition at line 61 of file peeraddr.hpp.
|
inline |
Definition at line 77 of file peeraddr.hpp.
|
inline |
Definition at line 66 of file peeraddr.hpp.
| AddrPort openvpn::PeerAddr::local |
Definition at line 88 of file peeraddr.hpp.
| AddrPort openvpn::PeerAddr::remote |
Definition at line 87 of file peeraddr.hpp.
| bool openvpn::PeerAddr::tcp |
Definition at line 89 of file peeraddr.hpp.