ZIO
Python and C++ interface to ZeroMQ and Zyre
Public Member Functions | Friends | List of all members
zmq::socket_t Class Reference

#include <zmq.hpp>

Inheritance diagram for zmq::socket_t:
Inheritance graph
[legend]
Collaboration diagram for zmq::socket_t:
Collaboration graph
[legend]

Public Member Functions

 socket_t () ZMQ_NOTHROW
 
 socket_t (context_t &context_, int type_)
 
 ~socket_t () ZMQ_NOTHROW
 
 operator void * () ZMQ_NOTHROW
 
 operator void const * () const ZMQ_NOTHROW
 
void close () ZMQ_NOTHROW
 
void swap (socket_t &other) ZMQ_NOTHROW
 
 operator socket_ref () ZMQ_NOTHROW
 
- Public Member Functions inherited from zmq::detail::socket_base
 socket_base () ZMQ_NOTHROW
 
ZMQ_EXPLICIT socket_base (void *handle) ZMQ_NOTHROW
 
template<typename T >
void setsockopt (int option_, T const &optval)
 
void setsockopt (int option_, const void *optval_, size_t optvallen_)
 
void getsockopt (int option_, void *optval_, size_t *optvallen_) const
 
template<typename T >
getsockopt (int option_) const
 
void bind (std::string const &addr)
 
void bind (const char *addr_)
 
void unbind (std::string const &addr)
 
void unbind (const char *addr_)
 
void connect (std::string const &addr)
 
void connect (const char *addr_)
 
void disconnect (std::string const &addr)
 
void disconnect (const char *addr_)
 
bool connected () const ZMQ_NOTHROW
 
size_t send (const void *buf_, size_t len_, int flags_=0)
 
bool send (message_t &msg_, int flags_=0)
 
template<typename T >
 ZMQ_CPP11_DEPRECATED ("from 4.4.1, use send taking message_t or buffer (for contiguous " "ranges), and send_flags") bool send(T first
 

Friends

class monitor_t
 

Additional Inherited Members

- Public Attributes inherited from zmq::detail::socket_base
last
 
T int flags_
 

Detailed Description

Definition at line 1621 of file zmq.hpp.

Constructor & Destructor Documentation

◆ socket_t() [1/2]

zmq::socket_t::socket_t ( )
inline

Definition at line 1626 of file zmq.hpp.

◆ socket_t() [2/2]

zmq::socket_t::socket_t ( context_t context_,
int  type_ 
)
inline

Definition at line 1628 of file zmq.hpp.

◆ ~socket_t()

zmq::socket_t::~socket_t ( )
inline

Definition at line 1658 of file zmq.hpp.

Member Function Documentation

◆ close()

void zmq::socket_t::close ( )
inline

Definition at line 1664 of file zmq.hpp.

◆ operator socket_ref()

zmq::socket_t::operator socket_ref ( )
inline

Definition at line 1680 of file zmq.hpp.

◆ operator void *()

zmq::socket_t::operator void * ( )
inline

Definition at line 1660 of file zmq.hpp.

◆ operator void const *()

zmq::socket_t::operator void const * ( ) const
inline

Definition at line 1662 of file zmq.hpp.

◆ swap()

void zmq::socket_t::swap ( socket_t other)
inline

Definition at line 1674 of file zmq.hpp.

Friends And Related Function Documentation

◆ monitor_t

friend class monitor_t
friend

Definition at line 1623 of file zmq.hpp.


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