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

Go to the source code of this file.

Typedefs

typedef struct pn_terminus_t pn_terminus_t
 

Enumerations

enum  pn_terminus_type_t { PN_UNSPECIFIED = 0, PN_SOURCE = 1, PN_TARGET = 2, PN_COORDINATOR = 3 }
 
enum  pn_durability_t { PN_NONDURABLE = 0, PN_CONFIGURATION = 1, PN_DELIVERIES = 2 }
 
enum  pn_expiry_policy_t { PN_LINK_CLOSE, PN_SESSION_CLOSE, PN_CONNECTION_CLOSE, PN_NEVER }
 
enum  pn_distribution_mode_t { PN_DIST_MODE_UNSPECIFIED = 0, PN_DIST_MODE_COPY = 1, PN_DIST_MODE_MOVE = 2 }
 

Functions

PN_EXTERN pn_terminus_type_t pn_terminus_get_type (pn_terminus_t *terminus)
 
PN_EXTERN int pn_terminus_set_type (pn_terminus_t *terminus, pn_terminus_type_t type)
 
PN_EXTERN const char * pn_terminus_get_address (pn_terminus_t *terminus)
 
PN_EXTERN int pn_terminus_set_address (pn_terminus_t *terminus, const char *address)
 
PN_EXTERN pn_distribution_mode_t pn_terminus_get_distribution_mode (const pn_terminus_t *terminus)
 
PN_EXTERN int pn_terminus_set_distribution_mode (pn_terminus_t *terminus, pn_distribution_mode_t mode)
 
PN_EXTERN pn_durability_t pn_terminus_get_durability (pn_terminus_t *terminus)
 
PN_EXTERN int pn_terminus_set_durability (pn_terminus_t *terminus, pn_durability_t durability)
 
PN_EXTERN pn_expiry_policy_t pn_terminus_get_expiry_policy (pn_terminus_t *terminus)
 
PN_EXTERN int pn_terminus_set_expiry_policy (pn_terminus_t *terminus, pn_expiry_policy_t policy)
 
PN_EXTERN pn_seconds_t pn_terminus_get_timeout (pn_terminus_t *terminus)
 
PN_EXTERN int pn_terminus_set_timeout (pn_terminus_t *terminus, pn_seconds_t timeout)
 
PN_EXTERN bool pn_terminus_is_dynamic (pn_terminus_t *terminus)
 
PN_EXTERN int pn_terminus_set_dynamic (pn_terminus_t *terminus, bool dynamic)
 
PN_EXTERN pn_data_tpn_terminus_properties (pn_terminus_t *terminus)
 
PN_EXTERN pn_data_tpn_terminus_capabilities (pn_terminus_t *terminus)
 
PN_EXTERN pn_data_tpn_terminus_outcomes (pn_terminus_t *terminus)
 
PN_EXTERN pn_data_tpn_terminus_filter (pn_terminus_t *terminus)
 
PN_EXTERN int pn_terminus_copy (pn_terminus_t *terminus, pn_terminus_t *src)
 

Detailed Description

Terminus API for the proton Engine.