2 #define PROTON_EVENT_H 1
Indicates that the both the head and tail of the transport are closed.
Definition: event.h:297
PN_EXTERN pn_record_t * pn_event_attachments(pn_event_t *event)
Get any attachments associated with an event.
The local session endpoint has been opened.
Definition: event.h:170
pn_event_type_t
An event type.
Definition: event.h:82
The remote endpoint has closed the link.
Definition: event.h:225
PN_EXTERN pn_session_t * pn_event_session(pn_event_t *event)
Get the session associated with an event.
The flow control state for a link has changed.
Definition: event.h:243
PN_EXTERN bool pn_collector_pop(pn_collector_t *collector)
Clear the head event on a collector.
struct pn_record_t pn_record_t
Definition: object.h:46
The connection has been unbound from its transport.
Definition: event.h:127
The local link endpoint has been detached.
Definition: event.h:231
PN_EXTERN void pn_collector_free(pn_collector_t *collector)
Free a collector.
struct pn_transport_t pn_transport_t
An AMQP Transport object.
Definition: types.h:262
PN_EXTERN pn_handler_t * pn_event_root(pn_event_t *event)
Get the root handler the current event was dispatched to.
PN_EXTERN pn_event_t * pn_collector_put(pn_collector_t *collector, const pn_class_t *clazz, void *context, pn_event_type_t type)
Place a new event on a collector.
The link has been created.
Definition: event.h:201
The local connection endpoint has been closed.
Definition: event.h:145
struct pn_link_t pn_link_t
An AMQP Link object.
Definition: types.h:148
PN_EXTERN pn_connection_t * pn_event_connection(pn_event_t *event)
Get the connection associated with an event.
A delivery has been created or updated.
Definition: event.h:256
PN_EXTERN void * pn_event_context(pn_event_t *event)
Get the context associated with an event.
The connection has been bound to a transport.
Definition: event.h:121
The remote endpoint has detached the link.
Definition: event.h:237
Indicates that the tail of the transport has been closed.
Definition: event.h:291
PN_EXTERN pn_event_type_t pn_event_type(pn_event_t *event)
Get the type of an event.
Defined as a programming convenience.
Definition: event.h:87
#define PN_EXTERN
Definition: import_export.h:53
PN_EXTERN bool pn_collector_more(pn_collector_t *collector)
Check if there are more events after the current event.
struct pn_collector_t pn_collector_t
An event collector.
Definition: types.h:250
struct pn_session_t pn_session_t
An AMQP Session object.
Definition: types.h:129
PN_EXTERN const pn_class_t * pn_event_class(pn_event_t *event)
Get the class associated with the event context.
The connection has been created.
Definition: event.h:115
The local session endpoint has been closed.
Definition: event.h:182
The local connection endpoint has been closed.
Definition: event.h:133
The session has been created.
Definition: event.h:164
PN_EXTERN const char * pn_event_type_name(pn_event_type_t type)
Get a human readable name for an event type.
struct pn_handler_t pn_handler_t
An event handler.
Definition: types.h:271
struct pn_delivery_t pn_delivery_t
An AMQP Delivery object.
Definition: types.h:238
A reactor has been started.
Definition: event.h:92
PN_EXTERN pn_link_t * pn_event_link(pn_event_t *event)
Get the link associated with an event.
The remote endpoint has opened the connection.
Definition: event.h:139
The link has been freed and any outstanding processing has been completed.
Definition: event.h:250
A timer event has occurred.
Definition: event.h:108
PN_EXTERN pn_transport_t * pn_event_transport(pn_event_t *event)
Get the transport associated with an event.
The session has been freed and any outstanding processing has been completed.
Definition: event.h:195
PN_EXTERN pn_collector_t * pn_collector(void)
Construct a collector.
The remote endpoint has opened the session.
Definition: event.h:176
Indicates that the head of the transport has been closed.
Definition: event.h:284
PN_EXTERN void pn_collector_release(pn_collector_t *collector)
Release a collector.
PN_EXTERN pn_delivery_t * pn_event_delivery(pn_event_t *event)
Get the delivery associated with an event.
PN_EXTERN pn_event_t * pn_collector_peek(pn_collector_t *collector)
Access the head event contained by a collector.
The remote endpoint has opened the link.
Definition: event.h:213
struct pn_connection_t pn_connection_t
An AMQP Connection object.
Definition: types.h:118
The local link endpoint has been opened.
Definition: event.h:207
A reactor has been stopped.
Definition: event.h:103
The transport has new data to read and/or write.
Definition: event.h:262
Indicates that a transport error has occurred.
Definition: event.h:277
The remote endpoint has closed the session.
Definition: event.h:188
The remote endpoint has closed the connection.
Definition: event.h:151
The connection has been freed and any outstanding processing has been completed.
Definition: event.h:158
The transport has authenticated, if this is received by a server the associated transport has authent...
Definition: event.h:270
struct pn_event_t pn_event_t
An event provides notification of a state change within the protocol engine's object model...
Definition: event.h:77
A reactor has no more events to process.
Definition: event.h:98
The local link endpoint has been closed.
Definition: event.h:219