|
libsshpp v0.1.7
Modern C++17 wrapper for libssh
|
#include <forwarding.hpp>
Classes | |
| struct | Options |
Public Member Functions | |
| LocalForward (Session &, Options) | |
| ~LocalForward () | |
| LocalForward (const LocalForward &)=delete | |
| LocalForward & | operator= (const LocalForward &)=delete |
| Result< void > | try_start () |
| void | stop () noexcept |
| bool | running () const noexcept |
| TcpEndpoint | local_endpoint () const noexcept |
| ForwardStats | stats () const noexcept |
| Result< void > | try_run_until_stopped () |
| Drives the accept loop on the calling thread instead of spawning one. | |
ssh -L equivalent: local TCP listener -> one channel per accepted connection. Connections are served one at a time (see the scope note at the top of this file).
| SSHPP_INLINE sshpp::LocalForward::~LocalForward | ( | ) |
|
delete |
|
delete |
| SSHPP_INLINE Result< void > sshpp::LocalForward::try_start | ( | ) |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
| SSHPP_INLINE Result< void > sshpp::LocalForward::try_run_until_stopped | ( | ) |
Drives the accept loop on the calling thread instead of spawning one.