1#ifndef PROTON_TRANSPORT_HPP
2#define PROTON_TRANSPORT_HPP
26#include "./internal/export.hpp"
27#include "./internal/object.hpp"
37class transport :
public internal::object<pn_transport_t> {
39 transport(pn_transport_t* t) : internal::object<pn_transport_t>(t) {}
44 transport() : internal::object<pn_transport_t>(0) {}
59 friend class internal::factory<
transport>;
Describes an endpoint error state.
Definition error_condition.hpp:39
class error_condition error() const
Get the error condition.
class sasl sasl() const
Get SASL information.
class ssl ssl() const
Get SSL information.
transport()
Create an empty transport.
Definition transport.hpp:44
class connection connection() const
Get the connection associated with this transport.
The main Proton namespace.
Definition annotation_key.hpp:33