Public Member Functions | Public Attributes | Private Member Functions | 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

void bind (const char *addr_)
 
void bind (std::string const &addr)
 
void connect (const char *addr_)
 
void connect (std::string const &addr)
 
bool connected () const ZMQ_NOTHROW
 
void disconnect (const char *addr_)
 
void disconnect (std::string const &addr)
 
template<typename T >
getsockopt (int option_) const
 
void getsockopt (int option_, void *optval_, size_t *optvallen_) const
 
size_t send (const void *buf_, size_t len_, int flags_=0)
 
bool send (message_t &msg_, int flags_=0)
 
void setsockopt (int option_, const void *optval_, size_t optvallen_)
 
template<typename T >
void setsockopt (int option_, T const &optval)
 
 socket_base () ZMQ_NOTHROW
 
ZMQ_EXPLICIT socket_base (void *handle) ZMQ_NOTHROW
 
void unbind (const char *addr_)
 
void unbind (std::string const &addr)
 
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

T int flags_
 
last
 

Private Member Functions

void get_option (int option_, void *optval_, size_t *optvallen_) const
 
void set_option (int option_, const void *optval_, size_t optvallen_)
 

Detailed Description

Definition at line 1749 of file zmq.hpp.

Constructor & Destructor Documentation

◆ socket_base() [1/2]

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

Definition at line 1752 of file zmq.hpp.

◆ socket_base() [2/2]

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

Definition at line 1755 of file zmq.hpp.

Member Function Documentation

◆ bind() [1/2]

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

Definition at line 1910 of file zmq.hpp.

◆ bind() [2/2]

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

Definition at line 1905 of file zmq.hpp.

◆ connect() [1/2]

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

Definition at line 1934 of file zmq.hpp.

◆ connect() [2/2]

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

Definition at line 1929 of file zmq.hpp.

◆ connected()

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

Definition at line 1953 of file zmq.hpp.

◆ disconnect() [1/2]

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

Definition at line 1946 of file zmq.hpp.

◆ disconnect() [2/2]

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

Definition at line 1941 of file zmq.hpp.

◆ get_option()

void zmq::detail::socket_base::get_option ( int  option_,
void *  optval_,
size_t *  optvallen_ 
) const
inlineprivate

Definition at line 2135 of file zmq.hpp.

◆ getsockopt() [1/2]

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

Definition at line 1784 of file zmq.hpp.

◆ getsockopt() [2/2]

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

Definition at line 1775 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 1959 of file zmq.hpp.

◆ send() [2/2]

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

Definition at line 1970 of file zmq.hpp.

◆ set_option()

void zmq::detail::socket_base::set_option ( int  option_,
const void *  optval_,
size_t  optvallen_ 
)
inlineprivate

Definition at line 2128 of file zmq.hpp.

◆ setsockopt() [1/2]

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

Definition at line 1767 of file zmq.hpp.

◆ setsockopt() [2/2]

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

Definition at line 1761 of file zmq.hpp.

◆ unbind() [1/2]

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

Definition at line 1922 of file zmq.hpp.

◆ unbind() [2/2]

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

Definition at line 1917 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 1984 of file zmq.hpp.

◆ last

T zmq::detail::socket_base::last

Definition at line 1984 of file zmq.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:54