1 #ifndef LIBFILEZILLA_ASCII_LAYER_HEADER
2 #define LIBFILEZILLA_ASCII_LAYER_HEADER
27 virtual int write(
void const* buffer,
unsigned int size,
int& error)
override;
29 virtual int shutdown()
override;
34 virtual FZ_PRIVATE_SYMBOL
void operator()(
fz::event_base const& ev)
override;
37 std::optional<uint8_t> tmp_read_;
40 bool write_blocked_by_send_buffer_{};
Data has become available.
Interface for sockets.
Definition: socket.hpp:374
Simple handler for asynchronous event processing.
Definition: event_handler.hpp:54
Definition: ascii_layer.hpp:20
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:653
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