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

Go to the source code of this file.

Macros

#define PN_LOCAL_UNINIT   (1)
 
#define PN_LOCAL_ACTIVE   (2)
 
#define PN_LOCAL_CLOSED   (4)
 
#define PN_REMOTE_UNINIT   (8)
 
#define PN_REMOTE_ACTIVE   (16)
 
#define PN_REMOTE_CLOSED   (32)
 
#define PN_LOCAL_MASK   (PN_LOCAL_UNINIT | PN_LOCAL_ACTIVE | PN_LOCAL_CLOSED)
 
#define PN_REMOTE_MASK   (PN_REMOTE_UNINIT | PN_REMOTE_ACTIVE | PN_REMOTE_CLOSED)
 

Functions

PN_EXTERN pn_connection_tpn_connection (void)
 
PN_EXTERN void pn_connection_free (pn_connection_t *connection)
 
PN_EXTERN pn_error_tpn_connection_error (pn_connection_t *connection)
 
PN_EXTERN void pn_connection_collect (pn_connection_t *connection, pn_collector_t *collector)
 
PN_EXTERN void * pn_connection_get_context (pn_connection_t *connection)
 
PN_EXTERN void pn_connection_set_context (pn_connection_t *connection, void *context)
 
PN_EXTERN pn_state_t pn_connection_state (pn_connection_t *connection)
 
PN_EXTERN void pn_connection_open (pn_connection_t *connection)
 
PN_EXTERN void pn_connection_close (pn_connection_t *connection)
 
PN_EXTERN void pn_connection_reset (pn_connection_t *connection)
 
PN_EXTERN pn_condition_tpn_connection_condition (pn_connection_t *connection)
 
PN_EXTERN pn_condition_tpn_connection_remote_condition (pn_connection_t *connection)
 
PN_EXTERN const char * pn_connection_get_container (pn_connection_t *connection)
 
PN_EXTERN void pn_connection_set_container (pn_connection_t *connection, const char *container)
 
PN_EXTERN const char * pn_connection_get_hostname (pn_connection_t *connection)
 
PN_EXTERN void pn_connection_set_hostname (pn_connection_t *connection, const char *hostname)
 
PN_EXTERN const char * pn_connection_remote_container (pn_connection_t *connection)
 
PN_EXTERN const char * pn_connection_remote_hostname (pn_connection_t *connection)
 
PN_EXTERN pn_data_tpn_connection_offered_capabilities (pn_connection_t *connection)
 
PN_EXTERN pn_data_tpn_connection_desired_capabilities (pn_connection_t *connection)
 
PN_EXTERN pn_data_tpn_connection_properties (pn_connection_t *connection)
 
PN_EXTERN pn_data_tpn_connection_remote_offered_capabilities (pn_connection_t *connection)
 
PN_EXTERN pn_data_tpn_connection_remote_desired_capabilities (pn_connection_t *connection)
 
PN_EXTERN pn_data_tpn_connection_remote_properties (pn_connection_t *connection)
 
PN_EXTERN pn_transport_tpn_connection_transport (pn_connection_t *connection)
 

Detailed Description

Connection API for the proton Engine.