S
- The return type of the transportR
- The parameter type accepted by send(Object)
public interface Transport<S,R> extends Closeable, ConfigurationSupport
Transport interface.
Modifier and Type | Method and Description |
---|---|
CompletableFuture<S> |
send(R data)
send.
|
get, get, getOptions, getOrDefault, getOrDefault, lock, set, unlock
CompletableFuture<S> send(R data)
send.
data
- a R objectCompletableFuture
objectCopyright © 2016–2024. All rights reserved.