Arduino TinyFTP
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
tinyftp::FTPTransferHandle Class Reference

FTPTransferHandle Counted reference to the transfer of a session: the transfer is ended and the session is released when the last copy of the handle is destroyed. Handles of an ended transfer are inactive, so they can not affect a later transfer of the same session. More...

#include <FTPBasicAPI.h>

Public Member Functions

 FTPTransferHandle (const FTPTransferHandle &other)
 
FTPTransferHandle & operator= (const FTPTransferHandle &other)
 
void attach (FTPBasicAPI *api)
 Takes part in the current transfer of the session.
 
void release ()
 Gives up this reference.
 
FTPBasicAPI * api () const
 Provides the session while the transfer is active (or nullptr)
 

Protected Attributes

FTPBasicAPI * api_ptr = nullptr
 
uint32_t id = 0
 

Detailed Description

FTPTransferHandle Counted reference to the transfer of a session: the transfer is ended and the session is released when the last copy of the handle is destroyed. Handles of an ended transfer are inactive, so they can not affect a later transfer of the same session.


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