MySQL 9.1.0
Source Code Documentation
Gcs_sock_probe_interface Class Referenceabstract

Interface to decouple XCom sock_probe implementation to allow unit testing. More...

#include <gcs_xcom_networking.h>

Inheritance diagram for Gcs_sock_probe_interface:
[legend]

Public Member Functions

 Gcs_sock_probe_interface ()=default
 
virtual ~Gcs_sock_probe_interface ()=default
 
virtual int init_sock_probe (sock_probe *s)=0
 
virtual int number_of_interfaces (sock_probe *s)=0
 
virtual void get_sockaddr_address (sock_probe *s, int count, struct sockaddr **out)=0
 
virtual void get_sockaddr_netmask (sock_probe *s, int count, struct sockaddr **out)=0
 
virtual char * get_if_name (sock_probe *s, int count)=0
 
virtual bool_t is_if_running (sock_probe *s, int count)=0
 
virtual void close_sock_probe (sock_probe *s)=0
 
 Gcs_sock_probe_interface (Gcs_sock_probe_interface &)=default
 
 Gcs_sock_probe_interface (Gcs_sock_probe_interface &&)=default
 
Gcs_sock_probe_interfaceoperator= (const Gcs_sock_probe_interface &)=default
 
Gcs_sock_probe_interfaceoperator= (Gcs_sock_probe_interface &&)=default
 

Detailed Description

Interface to decouple XCom sock_probe implementation to allow unit testing.

Implementation of.

Constructor & Destructor Documentation

◆ Gcs_sock_probe_interface() [1/3]

Gcs_sock_probe_interface::Gcs_sock_probe_interface ( )
default

◆ ~Gcs_sock_probe_interface()

virtual Gcs_sock_probe_interface::~Gcs_sock_probe_interface ( )
virtualdefault

◆ Gcs_sock_probe_interface() [2/3]

Gcs_sock_probe_interface::Gcs_sock_probe_interface ( Gcs_sock_probe_interface )
default

◆ Gcs_sock_probe_interface() [3/3]

Gcs_sock_probe_interface::Gcs_sock_probe_interface ( Gcs_sock_probe_interface &&  )
default

Member Function Documentation

◆ close_sock_probe()

virtual void Gcs_sock_probe_interface::close_sock_probe ( sock_probe s)
pure virtual

◆ get_if_name()

virtual char * Gcs_sock_probe_interface::get_if_name ( sock_probe s,
int  count 
)
pure virtual

◆ get_sockaddr_address()

virtual void Gcs_sock_probe_interface::get_sockaddr_address ( sock_probe s,
int  count,
struct sockaddr **  out 
)
pure virtual

◆ get_sockaddr_netmask()

virtual void Gcs_sock_probe_interface::get_sockaddr_netmask ( sock_probe s,
int  count,
struct sockaddr **  out 
)
pure virtual

◆ init_sock_probe()

virtual int Gcs_sock_probe_interface::init_sock_probe ( sock_probe s)
pure virtual

◆ is_if_running()

virtual bool_t Gcs_sock_probe_interface::is_if_running ( sock_probe s,
int  count 
)
pure virtual

◆ number_of_interfaces()

virtual int Gcs_sock_probe_interface::number_of_interfaces ( sock_probe s)
pure virtual

◆ operator=() [1/2]

Gcs_sock_probe_interface & Gcs_sock_probe_interface::operator= ( const Gcs_sock_probe_interface )
default

◆ operator=() [2/2]

Gcs_sock_probe_interface & Gcs_sock_probe_interface::operator= ( Gcs_sock_probe_interface &&  )
default

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