mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Support client round robin to multiple server addresses.
Change-Id: If87dc64a485b1c8a340c5f6fa39ca09d40133e30
This commit is contained in:
@@ -239,6 +239,10 @@ void StartClient(const char *server_name, unsigned int port) {
|
||||
Dispatcher::GetInstance().StartClient(server_name, port);
|
||||
}
|
||||
|
||||
void StartClient(ArrayRef<std::pair<StringRef, unsigned int>> servers) {
|
||||
Dispatcher::GetInstance().StartClient(servers);
|
||||
}
|
||||
|
||||
void StopClient() {
|
||||
Dispatcher::GetInstance().Stop();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user