Should add new hosts to the server list
Should add new hosts to the server list
the hosts to add
To close connection manager, the current connexion, stop preventive search and stop rw server search.
To close connection manager, the current connexion, stop preventive search and stop rw server search.
a Future.Done or Exception
To close connection manager, the current connexion, stop preventive search and stop rw server search.
To close connection manager, the current connexion, stop preventive search and stop rw server search.
a Future.Done or Exception
Return the currently connected host
Return the currently connected host
Some(host) or None if not connected
Find a server, and connect to it, priority to RW server, then RO server and finally not RO server.
Find a server, and connect to it, priority to RW server, then RO server and finally not RO server.
a Future.Done or Exception
Initiates connection Manager on client creation.
Initiates connection Manager on client creation.
Future.Done or Exception
Creates a new service factory.
Creates a new service factory.
the server to connect to
a brand new service factory
Should remove the given hosts from the host list, if the client is connected to one of these hosts, it will find a new host and return it.
Should remove the given hosts from the host list, if the client is connected to one of these hosts, it will find a new host and return it.
the hosts to remove from the current host list.
address of an available server not included in the given host list or an Exception
Test a server with isro request and connect request, then connect to it if testing is successful.
Test a server with isro request and connect request, then connect to it if testing is successful.
a host to test
Future.Done or Exception
The connection manager is supposed to handle a connection between the client and an endpoint from the host list