Qpid Proton C++  0.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | Public Member Functions | Static Public Attributes | List of all members
endpoint Class Referenceabstract

The base class for session, connection, and link. More...

#include <endpoint.hpp>

Inheritance diagram for endpoint:
connection link session receiver sender

Public Types

typedef int state
 A bit mask of state bit values. More...
 

Public Member Functions

virtual condition local_condition () const =0
 Get the local error condition.
 
virtual condition remote_condition () const =0
 Get the error condition of the remote endpoint.
 

Static Public Attributes

static const state LOCAL_UNINIT
 Local endpoint is uninitialized.
 
static const state REMOTE_UNINIT
 Remote endpoint is uninitialized.
 
static const state LOCAL_ACTIVE
 Local endpoint is active.
 
static const state REMOTE_ACTIVE
 Remote endpoint is active.
 
static const state LOCAL_CLOSED
 Local endpoint has been closed.
 
static const state REMOTE_CLOSED
 Remote endpoint has been closed.
 
static const state LOCAL_MASK
 Mask including all LOCAL_ bits (UNINIT, ACTIVE, CLOSED)
 
static const state REMOTE_MASK
 Mask including all REMOTE_ bits (UNINIT, ACTIVE, CLOSED)
 

Detailed Description

The base class for session, connection, and link.

Member Typedef Documentation

typedef int state

A bit mask of state bit values.

A state mask is matched against an endpoint as follows: If the state mask contains both local and remote flags, then an exact match against those flags is performed. If state contains only local or only remote flags, then a match occurs if any of the local or remote flags are set respectively.

See Also
connection::find_links, connection::find_sessions

The documentation for this class was generated from the following file: