1 #ifndef PROTON_TRANSPORT_HPP 2 #define PROTON_TRANSPORT_HPP 25 #include "./internal/object.hpp" 27 #include "./internal/export.hpp" 29 struct pn_transport_t;
34 class error_condition;
38 class connection_engine;
42 class transport :
public internal::object<pn_transport_t> {
44 transport(pn_transport_t* t) : internal::object<pn_transport_t>(t) {}
49 transport() : internal::object<pn_transport_t>(0) {}
52 PN_CPP_EXTERN
class connection connection() const;
55 PN_CPP_EXTERN
class ssl ssl() const;
58 PN_CPP_EXTERN
class sasl sasl() const;
64 friend class internal::factory<transport>;
70 #endif // PROTON_TRANSPORT_HPP SSL information.
Definition: ssl.hpp:37
SASL information.
Definition: sasl.hpp:36
Include the definitions of all proton types used to represent AMQP types.
A connection to a remote AMQP peer.
Definition: connection.hpp:48
transport()
Create an empty transport.
Definition: transport.hpp:49
A network channel supporting an AMQP connection.
Definition: transport.hpp:42
Type traits for mapping between AMQP and C++ types.
Definition: annotation_key.hpp:28
Describes an endpoint error state.
Definition: error_condition.hpp:37