MySQL 9.1.0
Source Code Documentation
mysql_harness::SocketOperations Class Reference

This class provides a "real" (not mock) implementation. More...

#include <socket_operations.h>

Inheritance diagram for mysql_harness::SocketOperations:
[legend]

Public Member Functions

 SocketOperations (const SocketOperations &)=delete
 
SocketOperations operator= (const SocketOperations &)=delete
 
std::string get_local_hostname () override
 return hostname of local host More...
 
- Public Member Functions inherited from mysql_harness::SocketOperationsBase
 SocketOperationsBase ()=default
 
 SocketOperationsBase (const SocketOperationsBase &)=default
 
SocketOperationsBaseoperator= (const SocketOperationsBase &)=default
 
virtual ~SocketOperationsBase ()=default
 

Static Public Member Functions

static SocketOperationsinstance ()
 

Private Member Functions

 SocketOperations ()=default
 

Detailed Description

This class provides a "real" (not mock) implementation.

Constructor & Destructor Documentation

◆ SocketOperations() [1/2]

mysql_harness::SocketOperations::SocketOperations ( const SocketOperations )
delete

◆ SocketOperations() [2/2]

mysql_harness::SocketOperations::SocketOperations ( )
privatedefault

Member Function Documentation

◆ get_local_hostname()

std::string mysql_harness::SocketOperations::get_local_hostname ( )
overridevirtual

return hostname of local host

Exceptions
<tt>LocalHostnameResolutionError</tt>(std::runtime_error) on failure

Implements mysql_harness::SocketOperationsBase.

◆ instance()

SocketOperations * mysql_harness::SocketOperations::instance ( )
static

◆ operator=()

SocketOperations mysql_harness::SocketOperations::operator= ( const SocketOperations )
delete

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