Joedb 10.5.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
joedb::ssh::SFTP_Allocation Class Reference

#include <joedb/ssh/SFTP.h>

Inheritance diagram for joedb::ssh::SFTP_Allocation:

Public Member Functions

 SFTP_Allocation (const Session &session)
sftp_session get () const
void throw_error (const char *message="sftp error: ") const
void check_result (int result) const
 ~SFTP_Allocation ()

Protected Attributes

const sftp_session sftp

Detailed Description

Definition at line 13 of file SFTP.h.

Constructor & Destructor Documentation

◆ SFTP_Allocation()

joedb::ssh::SFTP_Allocation::SFTP_Allocation ( const Session & session)
inline

Definition at line 23 of file SFTP.h.

◆ ~SFTP_Allocation()

joedb::ssh::SFTP_Allocation::~SFTP_Allocation ( )
inline

Definition at line 41 of file SFTP.h.

Member Function Documentation

◆ check_result()

void joedb::ssh::SFTP_Allocation::check_result ( int result) const
inline

Definition at line 35 of file SFTP.h.

◆ get()

sftp_session joedb::ssh::SFTP_Allocation::get ( ) const
inline

Definition at line 28 of file SFTP.h.

◆ throw_error()

void joedb::ssh::SFTP_Allocation::throw_error ( const char * message = "sftp error: ") const

Definition at line 28 of file SFTP.cpp.

Member Data Documentation

◆ sftp

const sftp_session joedb::ssh::SFTP_Allocation::sftp
protected

Definition at line 20 of file SFTP.h.


The documentation for this class was generated from the following files: