1 #ifndef PROTON_LISTEN_HANDLER_HPP 2 #define PROTON_LISTEN_HANDLER_HPP 56 #endif // PROTON_LISTEN_HANDLER_HPP Options for creating a connection.
Definition: connection_options.hpp:62
virtual void on_close()
Called when this listen_handler is no longer needed, and can be deleted.
Definition: listen_handler.hpp:51
Experimental - A handler for incoming connections.
Definition: listen_handler.hpp:34
virtual connection_options on_accept()=0
Called for each accepted connection.
virtual void on_error(const std::string &)
Called if there is a listening error, with an error message.
Definition: listen_handler.hpp:48
The main Proton namespace.
Definition: annotation_key.hpp:30