public interface Messenger<R extends AbstractRequest,S extends AbstractResponse> extends Closeable, ConfigurationSupport
Channel/Connection)TransportClientClient| Modifier and Type | Method and Description |
|---|---|
Executor |
getExecutor()
The
Executor utilized by this messenger |
Transport<?,?> |
getTransport()
The underlying
Transport used by this instance |
CompletableFuture<S> |
send(InetSocketAddress address,
R request)
Send request to the underlying
Transport |
get, get, getOptions, getOrDefault, getOrDefault, lock, set, unlockCompletableFuture<S> send(InetSocketAddress address, R request)
Send request to the underlying Transport
address - a InetSocketAddress objectrequest - a R objectCompletableFuture objectTransport<?,?> getTransport()
The underlying Transport used by this instance
Transport objectCopyright © 2016–2024. All rights reserved.