|
| virtual int16_t | getInfo (const Path &path, uint64_t &out_size, EntryType &out_type) |
| |
| virtual int16_t | read (const Path &path, const uint64_t offset, uint8_t *out_buffer, uint16_t &inout_size) |
| |
| virtual int16_t | getDirectoryEntryInfo (const Path &directory_path, const uint32_t entry_index, EntryType &out_type, Path &out_entry_full_path) |
| |
| virtual int16_t | getInfo (const Path &path, uint64_t &out_size, EntryType &out_type)=0 |
| |
| virtual int16_t | read (const Path &path, const uint64_t offset, uint8_t *out_buffer, uint16_t &inout_size)=0 |
| |
| virtual int16_t | remove (const Path &path) |
| |
| virtual int16_t | write (const Path &path, const uint64_t offset, const uint8_t *buffer, const uint16_t size) |
| |
| virtual | ~IFileServerBackend () |
| |
|
| static const std::string | file_data = "123456789" |
| |
| static const std::string | file_name = "test" |
| |
|
| enum | { ReadSize = protocol::file::Read::Response::FieldTypes::data::MaxSize
} |
| |
| typedef protocol::file::EntryType | EntryType |
| |
| typedef protocol::file::Error | Error |
| |
| typedef protocol::file::Path::FieldTypes::path | Path |
| |
| static char | getPathSeparator () |
| |
Definition at line 10 of file file_server.cpp.
◆ getInfo()
| virtual int16_t TestFileServerBackend::getInfo |
( |
const Path & |
path, |
|
|
uint64_t & |
out_size, |
|
|
EntryType & |
out_type |
|
) |
| |
|
inlinevirtual |
◆ read()
| virtual int16_t TestFileServerBackend::read |
( |
const Path & |
path, |
|
|
const uint64_t |
offset, |
|
|
uint8_t * |
out_buffer, |
|
|
uint16_t & |
inout_size |
|
) |
| |
|
inlinevirtual |
◆ file_data
| const std::string TestFileServerBackend::file_data = "123456789" |
|
static |
◆ file_name
| const std::string TestFileServerBackend::file_name = "test" |
|
static |
The documentation for this class was generated from the following file: