Add disconnect as an alias for close_connections
This way both MaxScale and backend connections have the same function names.
This commit is contained in:
@ -160,6 +160,12 @@ public:
|
|||||||
*/
|
*/
|
||||||
void close_connections();
|
void close_connections();
|
||||||
|
|
||||||
|
// Alias for close_connections()
|
||||||
|
void disconnect()
|
||||||
|
{
|
||||||
|
close_connections();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief reads IP, Ports, sshkeys for every node from enviromental variables as well as number of nodes (N) and User/Password
|
* @brief reads IP, Ports, sshkeys for every node from enviromental variables as well as number of nodes (N) and User/Password
|
||||||
* @return 0
|
* @return 0
|
||||||
|
Reference in New Issue
Block a user