Qpid Proton C++  0.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
List of all members
handler Class Reference

Callback functions for handling proton events. More...

#include <handler.hpp>

Public Member Functions

Event callbacks

Override these member functions to handle events.

virtual void on_start (event &e)
 The event loop is starting.
 
virtual void on_message (event &e)
 A message is received.
 
virtual void on_sendable (event &e)
 A message can be sent.
 
virtual void on_transport_close (event &e)
 The underlying network transport has closed.
 
virtual void on_transport_error (event &e)
 The underlying network transport has closed with an error condition. More...
 
virtual void on_connection_open (event &e)
 The remote peer opened the connection.
 
virtual void on_connection_close (event &e)
 The remote peer closed the connection.
 
virtual void on_connection_error (event &e)
 The remote peer closed the connection with an error condition.
 
virtual void on_session_open (event &e)
 The remote peer opened the session.
 
virtual void on_session_close (event &e)
 The remote peer closed the session.
 
virtual void on_session_error (event &e)
 The remote peer closed the session with an error condition.
 
virtual void on_link_open (event &e)
 The remote peer opened the link.
 
virtual void on_link_close (event &e)
 The remote peer closed the link.
 
virtual void on_link_error (event &e)
 The remote peer closed the link with an error condition.
 
virtual void on_delivery_accept (event &e)
 The remote peer accepted an outgoing message.
 
virtual void on_delivery_reject (event &e)
 The remote peer rejected an outgoing message.
 
virtual void on_delivery_release (event &e)
 The remote peer released an outgoing message.
 
virtual void on_delivery_settle (event &e)
 The remote peer settled an outgoing message.
 
virtual void on_transaction_declare (event &e)
 The remote peer declared a transaction.
 
virtual void on_transaction_commit (event &e)
 The remote peer committed a transaction.
 
virtual void on_transaction_abort (event &e)
 The remote peer aborted a transaction.
 
virtual void on_unhandled (event &e)
 Fallback event handling.
 
virtual void on_unhandled_error (event &e, const condition &c)
 Fallback error handling.
 

Detailed Description

Callback functions for handling proton events.

Subclass and override event-handling member functions.

See Also
proton::event
Examples:
broker.cpp, broker.hpp, client.cpp, direct_recv.cpp, direct_send.cpp, engine/broker.cpp, engine/client.cpp, engine/direct_recv.cpp, engine/direct_send.cpp, engine/helloworld.cpp, engine/server.cpp, engine/simple_recv.cpp, engine/simple_send.cpp, helloworld.cpp, helloworld_direct.cpp, server.cpp, server_direct.cpp, simple_recv.cpp, and simple_send.cpp.

Member Function Documentation

virtual void on_transport_error ( event e)
virtual

The underlying network transport has closed with an error condition.

Examples:
broker.hpp.

The documentation for this class was generated from the following file: