T - type of client proxy handled by this switcher.C - configuration type for the proxy type.public interface ClientProxySwitcher<T extends ClientProxy,C extends BaseClientProxyConfig>
| Modifier and Type | Method and Description |
|---|---|
T |
switchProxy(T oldProxy,
C config,
DiscoveryResult oldResult,
DiscoveryResult newResult)
Switch the proxy for one that is set up according to the new discovery result.
|
T switchProxy(T oldProxy, C config, DiscoveryResult oldResult, DiscoveryResult newResult)
oldProxy - the old proxy to be replaced.config - the configuration to use for the new proxy.oldResult - previous discovery result (i.e. before the switch).newResult - new discovery result.DiscoveryResultCopyright © 2020–2022 Axual B.V.. All rights reserved.