Mads
Multi-Agent Distributed System
Loading...
Searching...
No Matches
zmqpp Namespace Reference

Minimal stand-in for the parts of zmqpp that MADS used to expose. More...

Namespaces

namespace  curve
 zmqpp-shaped context: a zmq::context_t plus terminate().
 
namespace  socket_option
 Socket option names, mapped onto the type-checked zmq::sockopt.
 

Typedefs

using socket_type = zmq::socket_type
 Socket types, spelled as in zmqpp (socket_type::pub, ...).
 
using exception = zmq::error_t
 zmqpp's single exception type maps onto cppzmq's.
 
using zmq_internal_exception = zmq::error_t
 zmqpp raised this for libzmq-level failures; cppzmq has one type.
 

Detailed Description

Minimal stand-in for the parts of zmqpp that MADS used to expose.

Not a general-purpose zmqpp replacement: poller, reactor, actor, auth and the rest were never part of the MADS interface and are not provided. For ZAP authentication use Mads::ZapAuth / Mads::CurveAuth.

Typedef Documentation

◆ exception

using zmqpp::exception = typedef zmq::error_t

zmqpp's single exception type maps onto cppzmq's.

Definition at line 97 of file zmqpp_compat.hpp.

◆ socket_type

using zmqpp::socket_type = typedef zmq::socket_type

Socket types, spelled as in zmqpp (socket_type::pub, ...).

Definition at line 94 of file zmqpp_compat.hpp.

◆ zmq_internal_exception

using zmqpp::zmq_internal_exception = typedef zmq::error_t

zmqpp raised this for libzmq-level failures; cppzmq has one type.

Definition at line 99 of file zmqpp_compat.hpp.