1 #ifndef LIBFILEZILLA_ASCII_LAYER_HEADER
2 #define LIBFILEZILLA_ASCII_LAYER_HEADER
22 virtual int read(
void *
buffer,
unsigned int size,
int& error)
override;
23 virtual int write(
void const* buffer,
unsigned int size,
int& error)
override;
25 virtual int shutdown()
override;
33 std::optional<uint8_t> tmp_read_;
36 bool write_blocked_by_send_buffer_{};
Data has become available.
Interface for sockets.
Definition: socket.hpp:358
Simple handler for asynchronous event processing.
Definition: event_handler.hpp:54
Definition: ascii_layer.hpp:16
Socket classes for networking.
A threaded event loop that supports sending events and timers.
Definition: event_loop.hpp:33
A base class for socket layers.
Definition: socket.hpp:637
The namespace used by libfilezilla.
Definition: apply.hpp:17
All classes sending socket events should derive from this.
Definition: socket.hpp:84
The buffer class is a simple buffer where data can be appended at the end and consumed at the front...
Definition: buffer.hpp:26
Common base class for all events.
Definition: event.hpp:22
socket_event_flag
The type of a socket event.
Definition: socket.hpp:34