MySQL 8.0.39
Source Code Documentation
|
Implementation of Gcs_ip_allowlist_entry to use with hostnames. More...
#include <gcs_xcom_networking.h>
Public Member Functions | |
Gcs_ip_allowlist_entry_hostname (std::string addr, std::string mask) | |
Gcs_ip_allowlist_entry_hostname (std::string addr) | |
bool | init_value () override |
Entry initialization. More... | |
std::vector< std::pair< std::vector< unsigned char >, std::vector< unsigned char > > > * | get_value () override |
Virtual Method that implements value retrieval for this entry. More... | |
Public Member Functions inherited from Gcs_ip_allowlist_entry | |
Gcs_ip_allowlist_entry (std::string addr, std::string mask) | |
Constructor. More... | |
virtual | ~Gcs_ip_allowlist_entry ()=default |
std::string | get_addr () const |
Getters. More... | |
std::string | get_mask () const |
Implementation of Gcs_ip_allowlist_entry to use with hostnames.
Gcs_ip_allowlist_entry_hostname::Gcs_ip_allowlist_entry_hostname | ( | std::string | addr, |
std::string | mask | ||
) |
Gcs_ip_allowlist_entry_hostname::Gcs_ip_allowlist_entry_hostname | ( | std::string | addr | ) |
|
overridevirtual |
Virtual Method that implements value retrieval for this entry.
The returned value must be a list of std::pairs that contains both the address and the mask in network octet value. This is in list format because in the case of allowlist names, we can have multiple value for the same entry
Implements Gcs_ip_allowlist_entry.
|
overridevirtual |
Entry initialization.
If one needs to initialize internal values, it should be done in this method.
Implements Gcs_ip_allowlist_entry.