conduit 0.6.0
Modern C++23 header-only event-dispatching / event-transport library
Loading...
Searching...
No Matches
Classes | Enumerations
conduit::zmq Namespace Reference

Classes

struct  Config
 
struct  CurveConfig
 CurveZMQ authentication parameters (gated by CONDUIT_TRANSPORT_ZMQ_CURVE). More...
 
class  Transport
 ZeroMQ pipe — one instance covers a pattern-specific pair of sockets and carries traffic in both directions: outbound dispatch() sends on the publish/push/router leg, and inbound traffic is decoded on a dedicated receive thread and delivered through the inbound sink installed at attach time. More...
 
class  ZmqError
 Operational/runtime failure inside the ZMQ transport adapter. More...
 

Enumerations

enum class  Format : std::uint8_t { Json , Cbor }
 Wire format used for encoded envelopes. More...
 
enum class  Pattern : std::uint8_t { PubSub , PushPull , RouterDealer }
 ZMQ socket pattern. More...
 
enum class  Role : std::uint8_t { Bind , Connect }
 Per-socket role. More...
 

Enumeration Type Documentation

◆ Format

enum class conduit::zmq::Format : std::uint8_t
strong

Wire format used for encoded envelopes.

Enumerator
Json 
Cbor 

◆ Pattern

enum class conduit::zmq::Pattern : std::uint8_t
strong

ZMQ socket pattern.

Each pattern picks a different socket-type pair and expects different endpoint config to be populated.

Enumerator
PubSub 

PUB outbound, SUB inbound. Use for one-to-many fan-out broadcasts.

PushPull 

PUSH outbound, PULL inbound. Round-robin pipeline.

RouterDealer 

ROUTER+DEALER on a single bidirectional socket.

◆ Role

enum class conduit::zmq::Role : std::uint8_t
strong

Per-socket role.

Bind listens on the endpoint; Connect dials it. Conventional roles are pattern-specific (Pub binds, Sub connects; Pull binds, Push connects), but ZMQ allows the opposite — keep both configurable.

Enumerator
Bind 
Connect