|
Qpid Proton C API
0.17.0
|
Protocol and transport events. More...
#include <proton/import_export.h>#include <proton/type_compat.h>#include <proton/object.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct pn_event_t | pn_event_t |
| Notification of a state change in the protocol engine. More... | |
| typedef struct pn_event_batch_t | pn_event_batch_t |
| Experimental - A batch of events to handle. More... | |
Functions | |
| const char * | pn_event_type_name (pn_event_type_t type) |
| Get a human readable name for an event type. More... | |
| pn_collector_t * | pn_collector (void) |
| Construct a collector. More... | |
| void | pn_collector_free (pn_collector_t *collector) |
| Free a collector. More... | |
| void | pn_collector_release (pn_collector_t *collector) |
| Release a collector. More... | |
| 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. More... | |
| pn_event_t * | pn_collector_peek (pn_collector_t *collector) |
| Access the head event contained by a collector. More... | |
| bool | pn_collector_pop (pn_collector_t *collector) |
| Clear the head event on a collector. More... | |
| pn_event_t * | pn_collector_next (pn_collector_t *collector) |
| Return the next event to be handled. More... | |
| pn_event_t * | pn_collector_prev (pn_collector_t *collector) |
| Return the same event as the previous call to pn_collector_next() More... | |
| bool | pn_collector_more (pn_collector_t *collector) |
| Check if there are more events after the current event. More... | |
| pn_event_type_t | pn_event_type (pn_event_t *event) |
| Get the type of an event. More... | |
| const pn_class_t * | pn_event_class (pn_event_t *event) |
| Get the class associated with the event context. More... | |
| void * | pn_event_context (pn_event_t *event) |
| Get the context associated with an event. | |
| pn_connection_t * | pn_event_connection (pn_event_t *event) |
| Get the connection associated with an event. More... | |
| pn_session_t * | pn_event_session (pn_event_t *event) |
| Get the session associated with an event. More... | |
| pn_link_t * | pn_event_link (pn_event_t *event) |
| Get the link associated with an event. More... | |
| pn_delivery_t * | pn_event_delivery (pn_event_t *event) |
| Get the delivery associated with an event. More... | |
| pn_transport_t * | pn_event_transport (pn_event_t *event) |
| Get the transport associated with an event. More... | |
| pn_record_t * | pn_event_attachments (pn_event_t *event) |
| Get any attachments associated with an event. More... | |
| pn_event_t * | pn_event_batch_next (pn_event_batch_t *batch) |
| Experimental - Remove the next event from the batch and return it. More... | |
Protocol and transport events.