|
Arduino TinyFTP
|
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 |
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.