2 #define PROTON_EVENT_H 1
28 #include <sys/types.h>
The endpoint state flags for a link have changed.
Definition: event.h:116
A delivery has been created or updated.
Definition: event.h:129
PN_EXTERN pn_transport_t * pn_event_transport(pn_event_t *event)
Get the transport associated with an event.
struct pn_connection_t pn_connection_t
An AMQP Connection object.
Definition: types.h:111
The transport has new data to read and/or write.
Definition: event.h:135
struct pn_delivery_t pn_delivery_t
An AMQP Delivery object.
Definition: types.h:231
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
pn_event_type_t
An event type.
Definition: event.h:91
struct pn_collector_t pn_collector_t
An event collector.
Definition: types.h:243
Defined as a programming convenience.
Definition: event.h:96
The flow control state for a link has changed.
Definition: event.h:123
PN_EXTERN pn_collector_t * pn_collector(void)
Construct a collector.
PN_EXTERN void pn_collector_free(pn_collector_t *collector)
Free a collector.
PN_EXTERN pn_delivery_t * pn_event_delivery(pn_event_t *event)
Get the delivery associated with an event.
PN_EXTERN const char * pn_event_type_name(pn_event_type_t type)
Get a human readable name for an event type.
PN_EXTERN pn_link_t * pn_event_link(pn_event_t *event)
Get the link associated with an event.
struct pn_link_t pn_link_t
An AMQP Link object.
Definition: types.h:141
pn_event_category_t
Related events are grouped into categories.
Definition: event.h:82
The endpoint state flags for a connection have changed.
Definition: event.h:102
PN_EXTERN pn_session_t * pn_event_session(pn_event_t *event)
Get the session associated with an event.
#define PN_EXTERN
Definition: import_export.h:53
PN_EXTERN pn_event_type_t pn_event_type(pn_event_t *event)
Get the type of an event.
PN_EXTERN pn_event_t * pn_collector_peek(pn_collector_t *collector)
Access the head event contained by a collector.
PN_EXTERN pn_connection_t * pn_event_connection(pn_event_t *event)
Get the connection associated with an event.
The endpoint state flags for a session have changed.
Definition: event.h:109
struct pn_transport_t pn_transport_t
An AMQP Transport object.
Definition: types.h:255
PN_EXTERN pn_event_category_t pn_event_category(pn_event_t *event)
Get the category an event belongs to.
struct pn_session_t pn_session_t
An AMQP Session object.
Definition: types.h:122
PN_EXTERN bool pn_collector_pop(pn_collector_t *collector)
Clear the head event on a collector.