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

#include <zmq.hpp>

Public Member Functions

 monitor_t ()
 
virtual ~monitor_t ()
 
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)
 
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)
 
bool check_event (int timeout=0)
 
virtual void on_monitor_started ()
 
virtual void on_event_connected (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_listening (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_accepted (const zmq_event_t &event_, const char *addr_)
 
virtual void on_event_accept_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_close_failed (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_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_failed_auth (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_unknown (const zmq_event_t &event_, const char *addr_)
 

Detailed Description

Definition at line 1740 of file zmq.hpp.

Constructor & Destructor Documentation

◆ monitor_t()

zmq::monitor_t::monitor_t ( )
inline

Definition at line 1743 of file zmq.hpp.

◆ ~monitor_t()

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

Definition at line 1745 of file zmq.hpp.

Member Function Documentation

◆ check_event()

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

Definition at line 1797 of file zmq.hpp.

◆ init() [1/2]

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

Definition at line 1779 of file zmq.hpp.

◆ init() [2/2]

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

Definition at line 1784 of file zmq.hpp.

◆ monitor() [1/2]

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

Definition at line 1766 of file zmq.hpp.

◆ monitor() [2/2]

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

Definition at line 1771 of file zmq.hpp.

◆ on_event_accept_failed()

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

Definition at line 1963 of file zmq.hpp.

◆ on_event_accepted()

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

Definition at line 1958 of file zmq.hpp.

◆ on_event_bind_failed()

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

Definition at line 1953 of file zmq.hpp.

◆ on_event_close_failed()

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

Definition at line 1973 of file zmq.hpp.

◆ on_event_closed()

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

Definition at line 1968 of file zmq.hpp.

◆ on_event_connect_delayed()

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

Definition at line 1936 of file zmq.hpp.

◆ on_event_connect_retried()

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

Definition at line 1942 of file zmq.hpp.

◆ on_event_connected()

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

Definition at line 1931 of file zmq.hpp.

◆ on_event_disconnected()

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

Definition at line 1978 of file zmq.hpp.

◆ on_event_handshake_failed_auth()

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

Definition at line 1996 of file zmq.hpp.

◆ on_event_handshake_failed_no_detail()

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

Definition at line 1984 of file zmq.hpp.

◆ on_event_handshake_failed_protocol()

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

Definition at line 1990 of file zmq.hpp.

◆ on_event_handshake_succeeded()

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

Definition at line 2002 of file zmq.hpp.

◆ on_event_listening()

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

Definition at line 1948 of file zmq.hpp.

◆ on_event_unknown()

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

Definition at line 2022 of file zmq.hpp.

◆ on_monitor_started()

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

Definition at line 1930 of file zmq.hpp.


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