|
OpenVPN 3 Core Library
|
#include <asiopolysock.hpp>
Public Types | |
| typedef RCPtr< TCP > | Ptr |
Public Types inherited from openvpn::AsioPolySock::Base | |
| typedef RCPtr< Base > | Ptr |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| typedef RCPtr< RC > | Ptr |
Public Member Functions | |
| TCP (openvpn_io::io_context &io_context, const size_t index) | |
| void | async_send (const openvpn_io::const_buffer &buf, Function< void(const openvpn_io::error_code &, const size_t)> &&callback) override |
| void | async_receive (const openvpn_io::mutable_buffer &buf, Function< void(const openvpn_io::error_code &, const size_t)> &&callback) override |
| std::string | remote_endpoint_str () const override |
| bool | remote_ip_port (IP::Addr &addr, unsigned int &port) const override |
| void | non_blocking (const bool state) override |
| void | tcp_nodelay () override |
| void | set_cloexec () override |
| void | shutdown (const unsigned int flags) override |
| void | close () override |
| bool | is_open () const override |
| bool | is_local () const override |
| openvpn_io::detail::socket_type | native_handle () override |
Public Member Functions inherited from openvpn::AsioPolySock::Base | |
| size_t | index () const |
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 | |
| openvpn_io::ip::tcp::socket | socket |
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. | |
Protected Member Functions inherited from openvpn::AsioPolySock::Base | |
| Base (const size_t index) | |
Definition at line 113 of file asiopolysock.hpp.
| typedef RCPtr<TCP> openvpn::AsioPolySock::TCP::Ptr |
Definition at line 115 of file asiopolysock.hpp.
|
inline |
Definition at line 117 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Implements openvpn::AsioPolySock::Base.
Definition at line 130 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Implements openvpn::AsioPolySock::Base.
Definition at line 124 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Implements openvpn::AsioPolySock::Base.
Definition at line 191 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Implements openvpn::AsioPolySock::Base.
Definition at line 201 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Implements openvpn::AsioPolySock::Base.
Definition at line 196 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::AsioPolySock::Base.
Definition at line 206 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Implements openvpn::AsioPolySock::Base.
Definition at line 164 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Implements openvpn::AsioPolySock::Base.
Definition at line 137 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Implements openvpn::AsioPolySock::Base.
Definition at line 150 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::AsioPolySock::Base.
Definition at line 175 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::AsioPolySock::Base.
Definition at line 183 of file asiopolysock.hpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::AsioPolySock::Base.
Definition at line 169 of file asiopolysock.hpp.
| openvpn_io::ip::tcp::socket openvpn::AsioPolySock::TCP::socket |
Definition at line 227 of file asiopolysock.hpp.