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, const char *addr_, int events=ZMQ_EVENT_ALL)
 
void init (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 monitor (socket_t &socket, std::string const &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 2395 of file zmq.hpp.

Constructor & Destructor Documentation

◆ monitor_t() [1/2]

zmq::monitor_t::monitor_t ( )
inline

Definition at line 2398 of file zmq.hpp.

◆ ~monitor_t()

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

Definition at line 2402 of file zmq.hpp.

◆ monitor_t() [2/2]

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

Member Function Documentation

◆ check_event()

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

Definition at line 2456 of file zmq.hpp.

◆ close()

void zmq::monitor_t::close ( )
inlineprivate

Definition at line 2697 of file zmq.hpp.

◆ init() [1/2]

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

Definition at line 2443 of file zmq.hpp.

◆ init() [2/2]

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

Definition at line 2438 of file zmq.hpp.

◆ monitor() [1/2]

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

Definition at line 2429 of file zmq.hpp.

◆ monitor() [2/2]

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

Definition at line 2424 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 2628 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 2623 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 2618 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 2638 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 2633 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 2603 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 2608 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 2598 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 2643 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 2661 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 2649 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 2655 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 2667 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 2613 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 2684 of file zmq.hpp.

◆ on_monitor_started()

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

Definition at line 2595 of file zmq.hpp.

◆ operator=()

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

Member Data Documentation

◆ _monitor_socket

socket_t zmq::monitor_t::_monitor_socket
private

Definition at line 2695 of file zmq.hpp.

◆ _socket

socket_ref zmq::monitor_t::_socket
private

Definition at line 2694 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