MySQL 9.1.0
Source Code Documentation
|
Implementation of Gcs_ip_allowlist_entry to use with raw IP addresses in format X.X.X.X/XX. More...
#include <gcs_xcom_networking.h>
Public Member Functions | |
Gcs_ip_allowlist_entry_ip (std::string addr, std::string mask) | |
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 |
Private Attributes | |
std::pair< std::vector< unsigned char >, std::vector< unsigned char > > | m_value |
Implementation of Gcs_ip_allowlist_entry to use with raw IP addresses in format X.X.X.X/XX.
Gcs_ip_allowlist_entry_ip::Gcs_ip_allowlist_entry_ip | ( | std::string | addr, |
std::string | mask | ||
) |
|
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.
|
private |