|
libsshpp v0.1.7
Modern C++17 wrapper for libssh
|
#include <session_core.hpp>
Public Member Functions | |
| SessionCore (native_session raw) noexcept | |
| ~SessionCore () | |
| SessionCore (const SessionCore &)=delete | |
| SessionCore & | operator= (const SessionCore &)=delete |
| native_session | raw () const noexcept |
| std::recursive_mutex & | mutex () noexcept |
| bool | valid () const noexcept |
| void | replace (native_session raw) noexcept |
| Replaces the underlying ssh_session (used by Session::try_reconnect()). | |
| void | request_cancel () noexcept |
| void | clear_cancel () noexcept |
| bool | cancel_requested () const noexcept |
Non-copyable, non-movable; always heap-allocated and shared. Owns exactly one ssh_session and guarantees it outlives every Channel/Sftp/Scp derived from it. See docs/design/02 ยง2.2.
|
inlineexplicitnoexcept |
| SSHPP_INLINE sshpp::detail::SessionCore::~SessionCore | ( | ) |
|
delete |
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
Replaces the underlying ssh_session (used by Session::try_reconnect()).
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |