|
SatCat5
|
Server for receiving file(s) using AeroFTP over Ethernet.
Definition at line 118 of file file_aeroftp.h.
#include <file_aeroftp.h>
Public Member Functions | |
| AeroFtpServer (const char *work_folder, satcat5::eth::Dispatch *eth, const satcat5::eth::MacType &type=satcat5::eth::ETYPE_AEROFTP) | |
| satcat5::io::Readable * | missing_blocks (u32 file_id) |
| Get a stream of missing blocks for the designated file-ID. More... | |
| bool | done (u32 file_id) const |
| Has the complete file been received successfully? | |
| void | resume (bool allow) |
| Allow server to resume transfers in progress? | |
Protected Member Functions | |
| void | frame_rcvd (satcat5::io::LimitedRead &src) override |
| Callback for incoming packets. | |
Protected Attributes | |
| const std::string | m_work_folder |
| satcat5::net::Dispatch *const | m_iface |
| bool | m_resume |
| std::map< u32, satcat5::net::AeroFtpFile * > | m_files |
| satcat5::net::Type | m_filter |
| Incoming packet filter. | |
Private Attributes | |
| satcat5::net::Protocol * | m_next |
| Linked list of Protocols. | |
|
inherited |
Get a stream of missing blocks for the designated file-ID.
Format mimics the "aux" argument to net::AeroFtpClient.
Definition at line 206 of file file_aeroftp.cc.