OpenShot Library | libopenshot  0.2.5
Public Member Functions | Friends | List of all members
zmq::socket_t Class Reference

#include <zmq.hpp>

Public Member Functions

void bind (std::string const &addr)
 
void bind (const char *addr_)
 
void close () ZMQ_NOTHROW
 
void connect (std::string const &addr)
 
void connect (const char *addr_)
 
bool connected () const ZMQ_NOTHROW
 
void disconnect (std::string const &addr)
 
void disconnect (const char *addr_)
 
void getsockopt (int option_, void *optval_, size_t *optvallen_) const
 
template<typename T >
getsockopt (int option_) const
 
ZMQ_EXPLICIT operator void * () ZMQ_NOTHROW
 
ZMQ_EXPLICIT operator void const * () const ZMQ_NOTHROW
 
size_t recv (void *buf_, size_t len_, int flags_=0)
 
bool recv (message_t *msg_, int flags_=0)
 
size_t send (const void *buf_, size_t len_, int flags_=0)
 
bool send (message_t &msg_, int flags_=0)
 
template<typename I >
bool send (I first, I last, int flags_=0)
 
template<typename T >
void setsockopt (int option_, T const &optval)
 
void setsockopt (int option_, const void *optval_, size_t optvallen_)
 
 socket_t (context_t &context_, int type_)
 
void unbind (std::string const &addr)
 
void unbind (const char *addr_)
 
 ~socket_t () ZMQ_NOTHROW
 

Friends

class monitor_t
 

Detailed Description

Definition at line 457 of file zmq.hpp.

Constructor & Destructor Documentation

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

Definition at line 461 of file zmq.hpp.

zmq::socket_t::~socket_t ( )
inline

Definition at line 485 of file zmq.hpp.

Member Function Documentation

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

Definition at line 539 of file zmq.hpp.

void zmq::socket_t::bind ( const char *  addr_)
inline

Definition at line 544 of file zmq.hpp.

void zmq::socket_t::close ( )
inline

Definition at line 500 of file zmq.hpp.

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

Definition at line 563 of file zmq.hpp.

void zmq::socket_t::connect ( const char *  addr_)
inline

Definition at line 568 of file zmq.hpp.

bool zmq::socket_t::connected ( ) const
inline

Definition at line 587 of file zmq.hpp.

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

Definition at line 575 of file zmq.hpp.

void zmq::socket_t::disconnect ( const char *  addr_)
inline

Definition at line 580 of file zmq.hpp.

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

Definition at line 523 of file zmq.hpp.

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

Definition at line 531 of file zmq.hpp.

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

Definition at line 490 of file zmq.hpp.

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

Definition at line 495 of file zmq.hpp.

size_t zmq::socket_t::recv ( void *  buf_,
size_t  len_,
int  flags_ = 0 
)
inline

Definition at line 625 of file zmq.hpp.

bool zmq::socket_t::recv ( message_t msg_,
int  flags_ = 0 
)
inline

Definition at line 635 of file zmq.hpp.

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

Definition at line 592 of file zmq.hpp.

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

Definition at line 602 of file zmq.hpp.

template<typename I >
bool zmq::socket_t::send ( first,
last,
int  flags_ = 0 
)
inline

Definition at line 612 of file zmq.hpp.

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

Definition at line 510 of file zmq.hpp.

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

Definition at line 515 of file zmq.hpp.

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

Definition at line 551 of file zmq.hpp.

void zmq::socket_t::unbind ( const char *  addr_)
inline

Definition at line 556 of file zmq.hpp.

Friends And Related Function Documentation

friend class monitor_t
friend

Definition at line 459 of file zmq.hpp.


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