public class CopycatGrpcProxy extends Object
Constructor and Description |
---|
CopycatGrpcProxy()
Creates new proxy configuration.
|
Modifier and Type | Method and Description |
---|---|
CopycatGrpcProxy |
addProxy(io.atomix.catalyst.transport.Address address,
io.atomix.catalyst.transport.Address proxy)
Adds a new proxy mapping.
|
io.atomix.catalyst.transport.Address |
getProxyFor(io.atomix.catalyst.transport.Address address) |
boolean |
hasProxyFor(io.atomix.catalyst.transport.Address address) |
public CopycatGrpcProxy addProxy(io.atomix.catalyst.transport.Address address, io.atomix.catalyst.transport.Address proxy)
address
- source address that has been proxiedproxy
- proxy address for source addresspublic boolean hasProxyFor(io.atomix.catalyst.transport.Address address)
address
- address to check for proxy configurationtrue
if given address has proxy configurationpublic io.atomix.catalyst.transport.Address getProxyFor(io.atomix.catalyst.transport.Address address)
address
- source addressCopyright © 2023. All Rights Reserved.