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

#include <zmq.hpp>

Inheritance diagram for zmq::detail::socket_base:
Inheritance graph
[legend]

Public Member Functions

 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
 

Public Attributes

last
 
T int flags_
 

Detailed Description

Definition at line 1273 of file zmq.hpp.

Constructor & Destructor Documentation

◆ socket_base() [1/2]

zmq::detail::socket_base::socket_base ( )
inline

Definition at line 1276 of file zmq.hpp.

◆ socket_base() [2/2]

ZMQ_EXPLICIT zmq::detail::socket_base::socket_base ( void *  handle)
inline

Definition at line 1277 of file zmq.hpp.

Member Function Documentation

◆ bind() [1/2]

void zmq::detail::socket_base::bind ( std::string const &  addr)
inline

Definition at line 1306 of file zmq.hpp.

◆ bind() [2/2]

void zmq::detail::socket_base::bind ( const char *  addr_)
inline

Definition at line 1308 of file zmq.hpp.

◆ connect() [1/2]

void zmq::detail::socket_base::connect ( std::string const &  addr)
inline

Definition at line 1324 of file zmq.hpp.

◆ connect() [2/2]

void zmq::detail::socket_base::connect ( const char *  addr_)
inline

Definition at line 1326 of file zmq.hpp.

◆ connected()

bool zmq::detail::socket_base::connected ( ) const
inline

Definition at line 1342 of file zmq.hpp.

◆ disconnect() [1/2]

void zmq::detail::socket_base::disconnect ( std::string const &  addr)
inline

Definition at line 1333 of file zmq.hpp.

◆ disconnect() [2/2]

void zmq::detail::socket_base::disconnect ( const char *  addr_)
inline

Definition at line 1335 of file zmq.hpp.

◆ getsockopt() [1/2]

void zmq::detail::socket_base::getsockopt ( int  option_,
void *  optval_,
size_t *  optvallen_ 
) const
inline

Definition at line 1291 of file zmq.hpp.

◆ getsockopt() [2/2]

template<typename T >
T zmq::detail::socket_base::getsockopt ( int  option_) const
inline

Definition at line 1298 of file zmq.hpp.

◆ send() [1/2]

size_t zmq::detail::socket_base::send ( const void *  buf_,
size_t  len_,
int  flags_ = 0 
)
inline

Definition at line 1345 of file zmq.hpp.

◆ send() [2/2]

bool zmq::detail::socket_base::send ( message_t msg_,
int  flags_ = 0 
)
inline

Definition at line 1356 of file zmq.hpp.

◆ setsockopt() [1/2]

template<typename T >
void zmq::detail::socket_base::setsockopt ( int  option_,
T const &  optval 
)
inline

Definition at line 1279 of file zmq.hpp.

◆ setsockopt() [2/2]

void zmq::detail::socket_base::setsockopt ( int  option_,
const void *  optval_,
size_t  optvallen_ 
)
inline

Definition at line 1284 of file zmq.hpp.

◆ unbind() [1/2]

void zmq::detail::socket_base::unbind ( std::string const &  addr)
inline

Definition at line 1315 of file zmq.hpp.

◆ unbind() [2/2]

void zmq::detail::socket_base::unbind ( const char *  addr_)
inline

Definition at line 1317 of file zmq.hpp.

◆ ZMQ_CPP11_DEPRECATED()

template<typename T >
zmq::detail::socket_base::ZMQ_CPP11_DEPRECATED ( "from 4.4.  1,
use send taking message_t or   bufferfor contiguous " "ranges,
and send_flags"   
)

Member Data Documentation

◆ flags_

T int zmq::detail::socket_base::flags_

Definition at line 1371 of file zmq.hpp.

◆ last

T zmq::detail::socket_base::last

Definition at line 1371 of file zmq.hpp.


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