2 #define PROTON_EVENT_H 1
29 #include <sys/types.h>
The local link endpoint has been detached.
Definition: event.h:232
The connection has been unbound from its transport.
Definition: event.h:128
PN_EXTERN bool pn_collector_pop(pn_collector_t *collector)
Clear the head event on a collector.
The transport has new data to read and/or write.
Definition: event.h:263
The connection has been bound to a transport.
Definition: event.h:122
A delivery has been created or updated.
Definition: event.h:257
struct pn_record_t pn_record_t
Definition: object.h:46
The local session endpoint has been closed.
Definition: event.h:183
struct pn_connection_t pn_connection_t
An AMQP Connection object.
Definition: types.h:112
A reactor has been started.
Definition: event.h:93
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:78
The local connection endpoint has been closed.
Definition: event.h:134
PN_EXTERN pn_transport_t * pn_event_transport(pn_event_t *event)
Get the transport associated with an event.
The local link endpoint has been opened.
Definition: event.h:208
pn_event_type_t
An event type.
Definition: event.h:83
struct pn_delivery_t pn_delivery_t
An AMQP Delivery object.
Definition: types.h:232
The remote endpoint has opened the link.
Definition: event.h:214
struct pn_collector_t pn_collector_t
An event collector.
Definition: types.h:244
The local connection endpoint has been closed.
Definition: event.h:146
A reactor has been stopped.
Definition: event.h:104
PN_EXTERN pn_record_t * pn_event_attachments(pn_event_t *event)
Get any attachments associated with an event.
struct pn_link_t pn_link_t
An AMQP Link object.
Definition: types.h:142
The remote endpoint has detached the link.
Definition: event.h:238
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 remote endpoint has closed the link.
Definition: event.h:226
PN_EXTERN pn_collector_t * pn_collector(void)
Construct a collector.
Defined as a programming convenience.
Definition: event.h:88
The local link endpoint has been closed.
Definition: event.h:220
#define PN_EXTERN
Definition: import_export.h:53
PN_EXTERN void pn_collector_free(pn_collector_t *collector)
Free a collector.
The session has been freed and any outstanding processing has been completed.
Definition: event.h:196
The link has been freed and any outstanding processing has been completed.
Definition: event.h:251
PN_EXTERN const char * pn_event_type_name(pn_event_type_t type)
Get a human readable name for an event type.
PN_EXTERN bool pn_collector_more(pn_collector_t *collector)
Check if there are more events after the current event.
The session has been created.
Definition: event.h:165
The flow control state for a link has changed.
Definition: event.h:244
The local session endpoint has been opened.
Definition: event.h:171
A timer event has occurred.
Definition: event.h:109
The remote endpoint has opened the connection.
Definition: event.h:140
PN_EXTERN pn_session_t * pn_event_session(pn_event_t *event)
Get the session associated with an event.
PN_EXTERN pn_delivery_t * pn_event_delivery(pn_event_t *event)
Get the delivery associated with an event.
The link has been created.
Definition: event.h:202
The connection has been created.
Definition: event.h:116
Indicates that the head of the transport has been closed.
Definition: event.h:277
The remote endpoint has closed the connection.
Definition: event.h:152
The connection has been freed and any outstanding processing has been completed.
Definition: event.h:159
PN_EXTERN pn_link_t * pn_event_link(pn_event_t *event)
Get the link associated with 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.
PN_EXTERN const pn_class_t * pn_event_class(pn_event_t *event)
Get the class associated with the event context.
struct pn_transport_t pn_transport_t
An AMQP Transport object.
Definition: types.h:256
A reactor has no more events to process.
Definition: event.h:99
The remote endpoint has opened the session.
Definition: event.h:177
PN_EXTERN pn_event_type_t pn_event_type(pn_event_t *event)
Get the type of an event.
struct pn_session_t pn_session_t
An AMQP Session object.
Definition: types.h:123
Indicates that a transport error has occurred.
Definition: event.h:270
Indicates that the tail of the transport has been closed.
Definition: event.h:284
PN_EXTERN void * pn_event_context(pn_event_t *event)
Get the context associated with an event.
PN_EXTERN void pn_collector_release(pn_collector_t *collector)
Release a collector.
The remote endpoint has closed the session.
Definition: event.h:189
Indicates that the both the head and tail of the transport are closed.
Definition: event.h:290