| helics 3.6.1

Public Member Functions | Public Attributes | List of all members
ZmqSocketDescriptor Class Reference

`#include <zmqSocketDescriptor.h>`

## Public Member Functions
| ZmqSocketDescriptor (std::string socketName="")
| ZmqSocketDescriptor (std::string socketName, zmq::socket_type stype)
void | addOperation (socket_ops op, const std::string &desc)
zmq::socket_t | makeSocket (zmq::context_t &ctx) const
std::unique_ptr< zmq::socket_t > | makeSocketPtr (zmq::context_t &ctx) const
void | modifySocket (zmq::socket_t &sock) const

## Public Attributes
std::string | name
| name of the socket for later reference
zmq::socket_type | type = zmq::socket_type::sub
| the socket type
std::vector< socketOperation > | ops
| a list of connections of make through bind
std::function< void(const zmq::multipart_t &res)> | callback
| the message handler

## Detailed Description

data class describing a socket and some operations on it

The documentation for this class was generated from the following file:

- zmqSocketDescriptor.h