25 using conduit::TransportError::TransportError;
41 std::optional<TlsConfig>
tls;
97 std::unique_ptr<Impl> impl_;
Bus — owns transports, middleware, listeners; dispatches envelopes.
Polymorphic envelope cell.
Definition envelope.hpp:62
Operational/runtime failure inside a transport adapter (connect, subscribe, publish,...
Definition exception.hpp:48
Definition transport.hpp:30
Bus * bus() const noexcept
Definition transport.hpp:68
Operational/runtime failure inside the AMQP transport adapter.
Definition transport.hpp:23
AMQP pipe — one instance binds to a single AMQP routing key and carries traffic in both directions: o...
Definition transport.hpp:72
Transport & operator=(const Transport &)=delete
bool is_connected() const noexcept
void detach() noexcept override
Transport(const Transport &)=delete
TransportScope scope() const noexcept override
Definition transport.hpp:83
void attach_with_sink(Bus &bus, InboundSink sink) override
Attach to a bus using a caller-supplied inbound sink.
Transport(Transport &&)=delete
void dispatch(const EventEnvelopeView &v) override
Transport(Config config, std::shared_ptr< EventRegistry > registry={})
Transport & operator=(Transport &&)=delete
EventEnvelope — a parcel cell carrying conduit's envelope metadata plus a polymorphic payload cell.
Root exception hierarchy for the conduit library.
Transport interface and the local/remote scope enum used for flag-based filtering.
Listener / Subscription / Subscriber primitives.
Definition transport.hpp:20
Format
Wire format used for encoded envelopes.
Definition transport.hpp:29
std::function< void(const EventEnvelopeView &)> InboundSink
Callable installed on a Transport at attach time that receives inbound envelopes the transport pulled...
Definition transport.hpp:28
TransportScope
Distinguishes in-process transports from off-machine ones.
Definition transport.hpp:21
Thin EventRegistry wrapper around parcel::ParcelRegistry, plus envelope encode/decode helpers for JSO...
Definition transport.hpp:38
bool exchange_auto_delete
Definition transport.hpp:47
std::optional< TlsConfig > tls
Definition transport.hpp:41
bool exchange_durable
Definition transport.hpp:46
std::string routing_key
Outbound publish routing key AND inbound binding pattern.
Definition transport.hpp:51
std::chrono::seconds connect_timeout
Definition transport.hpp:60
bool queue_durable
Definition transport.hpp:53
std::string url
Definition transport.hpp:39
bool queue_exclusive
Definition transport.hpp:54
std::chrono::seconds heartbeat
Definition transport.hpp:61
bool persistent
Definition transport.hpp:57
Format format
Wire format used for both outbound publishes and inbound decoding.
Definition transport.hpp:64
std::string connection_name
Definition transport.hpp:40
bool queue_auto_delete
Definition transport.hpp:55
bool publisher_confirms
Definition transport.hpp:58
std::string exchange_type
Definition transport.hpp:45
std::string exchange
Definition transport.hpp:44
std::string queue
Definition transport.hpp:52
Definition transport.hpp:31
std::string ca_file
Definition transport.hpp:32
std::optional< std::string > key_file
Definition transport.hpp:34
std::optional< std::string > cert_file
Definition transport.hpp:33
bool verify_peer
Definition transport.hpp:35