public class GrpcMessagingProxy extends Object
Constructor and Description |
---|
GrpcMessagingProxy()
Creates new proxy configuration.
|
Modifier and Type | Method and Description |
---|---|
GrpcMessagingProxy |
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 GrpcMessagingProxy 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.