C AMQP Protocol Engine API  0.7
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
event.h File Reference
#include <proton/import_export.h>
#include <proton/type_compat.h>
#include <stddef.h>
#include <sys/types.h>
Include dependency graph for event.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct pn_event_t pn_event_t
 

Enumerations

enum  pn_event_category_t { PN_EVENT_CATEGORY_NONE = 0, PN_EVENT_CATEGORY_PROTOCOL = 0x00010000, PN_EVENT_CATEGORY_COUNT = 2 }
 
enum  pn_event_type_t {
  PN_EVENT_NONE = 0, PN_CONNECTION_REMOTE_STATE = PN_EVENT_CATEGORY_PROTOCOL+1, PN_CONNECTION_LOCAL_STATE = PN_EVENT_CATEGORY_PROTOCOL+2, PN_SESSION_REMOTE_STATE = PN_EVENT_CATEGORY_PROTOCOL+3,
  PN_SESSION_LOCAL_STATE = PN_EVENT_CATEGORY_PROTOCOL+4, PN_LINK_REMOTE_STATE = PN_EVENT_CATEGORY_PROTOCOL+5, PN_LINK_LOCAL_STATE = PN_EVENT_CATEGORY_PROTOCOL+6, PN_LINK_FLOW = PN_EVENT_CATEGORY_PROTOCOL+7,
  PN_DELIVERY = PN_EVENT_CATEGORY_PROTOCOL+8, PN_TRANSPORT = PN_EVENT_CATEGORY_PROTOCOL+9
}
 

Functions

PN_EXTERN const char * pn_event_type_name (pn_event_type_t type)
 
PN_EXTERN pn_collector_tpn_collector (void)
 
PN_EXTERN void pn_collector_free (pn_collector_t *collector)
 
PN_EXTERN pn_event_tpn_collector_peek (pn_collector_t *collector)
 
PN_EXTERN bool pn_collector_pop (pn_collector_t *collector)
 
PN_EXTERN pn_event_type_t pn_event_type (pn_event_t *event)
 
PN_EXTERN pn_event_category_t pn_event_category (pn_event_t *event)
 
PN_EXTERN pn_connection_tpn_event_connection (pn_event_t *event)
 
PN_EXTERN pn_session_tpn_event_session (pn_event_t *event)
 
PN_EXTERN pn_link_tpn_event_link (pn_event_t *event)
 
PN_EXTERN pn_delivery_tpn_event_delivery (pn_event_t *event)
 
PN_EXTERN pn_transport_tpn_event_transport (pn_event_t *event)
 

Detailed Description

Event API for the proton Engine.