MySQL 9.1.0
Source Code Documentation
Poll_socket_listener Class Reference

#include <semisync_source_socket_listener.h>

Public Member Functions

 Poll_socket_listener ()=default
 
bool listen_on_sockets ()
 
bool is_socket_active (int index)
 
void clear_socket_info (int index)
 
bool init_replica_sockets (Slave_vector &slaves)
 
uint number_of_slave_sockets ()
 
Slave get_slave_obj (int index)
 

Private Attributes

Slave_vector m_slaves
 
std::vector< pollfdm_fds
 

Constructor & Destructor Documentation

◆ Poll_socket_listener()

Poll_socket_listener::Poll_socket_listener ( )
default

Member Function Documentation

◆ clear_socket_info()

void Poll_socket_listener::clear_socket_info ( int  index)
inline

◆ get_slave_obj()

Slave Poll_socket_listener::get_slave_obj ( int  index)
inline

◆ init_replica_sockets()

bool Poll_socket_listener::init_replica_sockets ( Slave_vector slaves)
inline

◆ is_socket_active()

bool Poll_socket_listener::is_socket_active ( int  index)
inline

◆ listen_on_sockets()

bool Poll_socket_listener::listen_on_sockets ( )
inline

◆ number_of_slave_sockets()

uint Poll_socket_listener::number_of_slave_sockets ( )
inline

Member Data Documentation

◆ m_fds

std::vector<pollfd> Poll_socket_listener::m_fds
private

◆ m_slaves

Slave_vector Poll_socket_listener::m_slaves
private

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