1 #ifndef PROTON_MESSAGING_HANDLER_HPP
2 #define PROTON_MESSAGING_HANDLER_HPP
26 #include "./internal/export.hpp"
A connection to a remote AMQP peer.
Definition: connection.hpp:47
A top-level container of connections, sessions, and links.
Definition: container.hpp:50
A received message.
Definition: delivery.hpp:40
Describes an endpoint error state.
Definition: error_condition.hpp:39
An AMQP message.
Definition: message.hpp:48
Handler for Proton messaging events.
Definition: messaging_handler.hpp:69
virtual void on_error(const error_condition &)
Fallback error handling.
virtual void on_receiver_detach(receiver &)
The remote peer detached the link.
virtual void on_receiver_drain_finish(receiver &)
Unsettled API - The credit outstanding at the time of the drain request has been consumed or returned...
virtual void on_tracker_reject(tracker &)
The receiving peer rejected a transfer.
virtual void on_sender_error(sender &)
The remote peer closed the link with an error condition.
virtual void on_connection_wake(connection &)
Unsettled API - An event that can be triggered from another thread.
virtual void on_tracker_settle(tracker &)
The receiving peer settled a transfer.
virtual void on_connection_open(connection &)
The remote peer opened the connection: called once on initial open, and again on each successful auto...
virtual void on_tracker_accept(tracker &)
The receiving peer accepted a transfer.
virtual void on_delivery_settle(delivery &)
The sending peer settled a transfer.
virtual void on_message(delivery &, message &)
A message is received.
virtual void on_session_error(session &)
The remote peer closed the session with an error condition.
virtual void on_receiver_open(receiver &)
The remote peer opened the link.
virtual void on_connection_close(connection &)
The remote peer closed the connection.
virtual void on_sendable(sender &)
A message can be sent.
virtual void on_transport_close(transport &)
The final event for a connection: there will be no more reconnect attempts and no more event function...
virtual void on_container_start(container &)
The container event loop is starting.
virtual void on_session_close(session &)
The remote peer closed the session.
virtual void on_sender_close(sender &)
The remote peer closed the link.
virtual void on_transport_open(transport &)
The underlying network transport is open.
virtual void on_session_open(session &)
The remote peer opened the session.
virtual void on_transport_error(transport &)
Unexpected disconnect, transport::error() provides details; if reconnect_options are enabled there ma...
virtual void on_sender_drain_start(sender &)
Unsettled API - The receiving peer has requested a drain of remaining credit.
virtual void on_receiver_error(receiver &)
The remote peer closed the link with an error condition.
virtual void on_sender_open(sender &)
The remote peer opened the link.
virtual void on_container_stop(container &)
The container event loop is stopping.
virtual void on_tracker_release(tracker &)
The receiving peer released a transfer.
virtual void on_sender_detach(sender &)
The remote peer detached the link.
virtual void on_receiver_close(receiver &)
The remote peer closed the link.
virtual void on_connection_error(connection &)
The remote peer indicated a fatal error, connection::error() provides details.
A channel for receiving messages.
Definition: receiver.hpp:41
A channel for sending messages.
Definition: sender.hpp:40
A container of senders and receivers.
Definition: session.hpp:42
A tracker for a sent message.
Definition: tracker.hpp:41
A network channel supporting an AMQP connection.
Definition: transport.hpp:37
The main Proton namespace.
Definition: annotation_key.hpp:33