Class that provides Network Namespace services.
More...
#include <network_provider.h>
Class that provides Network Namespace services.
◆ ~Network_namespace_manager()
virtual Network_namespace_manager::~Network_namespace_manager |
( |
| ) |
|
|
inlinevirtual |
◆ channel_get_network_namespace()
virtual int Network_namespace_manager::channel_get_network_namespace |
( |
std::string & |
net_ns | ) |
|
|
pure virtual |
Method to get the network namespace configured for a channel.
- Parameters
-
[out] | net_ns | The network namespace to extract |
- Returns
- the operation status
- Return values
-
false | OK |
true | Error, channel not found |
Implemented in Gcs_mysql_network_provider_native_interface_impl.
◆ restore_original_network_namespace()
virtual bool Network_namespace_manager::restore_original_network_namespace |
( |
| ) |
|
|
pure virtual |
◆ set_network_namespace()
virtual bool Network_namespace_manager::set_network_namespace |
( |
const std::string & |
network_namespace | ) |
|
|
pure virtual |
Set active network namespace specified by a name.
- Parameters
-
network_namespace | the name of a network namespace to be set active |
- Returns
- false on success, true on error
- Note
- all opened descriptors used during function run are closed on error
Implemented in Gcs_mysql_network_provider_native_interface_impl.
The documentation for this class was generated from the following file:
- plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/network/include/network_provider.h