Public Member Functions | Private Member Functions | Private Attributes | List of all members
zmq::monitor_t Class Reference

#include <zmq.hpp>

Public Member Functions

bool check_event (int timeout=0)
 
void init (socket_t &socket, std::string const &addr, int events=ZMQ_EVENT_ALL)
 
void init (socket_t &socket, const char *addr_, int events=ZMQ_EVENT_ALL)
 
void monitor (socket_t &socket, std::string const &addr, int events=ZMQ_EVENT_ALL)
 
void monitor (socket_t &socket, const char *addr_, int events=ZMQ_EVENT_ALL)
 
 monitor_t ()
 
virtual void on_event_accept_failed (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_accepted (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_bind_failed (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_close_failed (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_closed (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_connect_delayed (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_connect_retried (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_connected (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_disconnected (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_handshake_failed_auth (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_handshake_failed_no_detail (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_handshake_failed_protocol (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_handshake_succeeded (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_listening (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_unknown (const zmq_event_t &event_, const char *addr_)
 
virtual void on_monitor_started ()
 
virtual ~monitor_t ()
 

Private Member Functions

void close () ZMQ_NOTHROW
 
 monitor_t (const monitor_t &) ZMQ_DELETED_FUNCTION
 
void operator= (const monitor_t &) ZMQ_DELETED_FUNCTION
 

Private Attributes

socket_t _monitor_socket
 
socket_ref _socket
 

Detailed Description

Definition at line 2247 of file zmq.hpp.

Constructor & Destructor Documentation

zmq::monitor_t::monitor_t ( )
inline

Definition at line 2250 of file zmq.hpp.

virtual zmq::monitor_t::~monitor_t ( )
inlinevirtual

Definition at line 2252 of file zmq.hpp.

zmq::monitor_t::monitor_t ( const monitor_t )
private

Member Function Documentation

bool zmq::monitor_t::check_event ( int  timeout = 0)
inline

Definition at line 2304 of file zmq.hpp.

void zmq::monitor_t::close ( )
inlineprivate

Definition at line 2542 of file zmq.hpp.

void zmq::monitor_t::init ( socket_t socket,
std::string const &  addr,
int  events = ZMQ_EVENT_ALL 
)
inline

Definition at line 2286 of file zmq.hpp.

void zmq::monitor_t::init ( socket_t socket,
const char *  addr_,
int  events = ZMQ_EVENT_ALL 
)
inline

Definition at line 2291 of file zmq.hpp.

void zmq::monitor_t::monitor ( socket_t socket,
std::string const &  addr,
int  events = ZMQ_EVENT_ALL 
)
inline

Definition at line 2273 of file zmq.hpp.

void zmq::monitor_t::monitor ( socket_t socket,
const char *  addr_,
int  events = ZMQ_EVENT_ALL 
)
inline

Definition at line 2278 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_accept_failed ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2470 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_accepted ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2465 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_bind_failed ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2460 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_close_failed ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2480 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_closed ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2475 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_connect_delayed ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2443 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_connect_retried ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2449 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_connected ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2438 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_disconnected ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2485 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_handshake_failed_auth ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2503 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_handshake_failed_no_detail ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2491 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_handshake_failed_protocol ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2497 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_handshake_succeeded ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2509 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_listening ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2455 of file zmq.hpp.

virtual void zmq::monitor_t::on_event_unknown ( const zmq_event_t event_,
const char *  addr_ 
)
inlinevirtual

Definition at line 2529 of file zmq.hpp.

virtual void zmq::monitor_t::on_monitor_started ( )
inlinevirtual

Definition at line 2437 of file zmq.hpp.

void zmq::monitor_t::operator= ( const monitor_t )
private

Member Data Documentation

socket_t zmq::monitor_t::_monitor_socket
private

Definition at line 2540 of file zmq.hpp.

socket_ref zmq::monitor_t::_socket
private

Definition at line 2539 of file zmq.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:53