public class NettyTransport extends Object implements Transport<NettyChannelContext,NettyChannelContext>
Channel
.Constructor and Description |
---|
NettyTransport(Options options)
Constructor for NettyTransport.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
Options |
getOptions()
getOptions.
|
CompletableFuture<NettyChannelContext> |
send(NettyChannelContext context)
send.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, get, getOrDefault, getOrDefault, lock, set, unlock
public final CompletableFuture<NettyChannelContext> send(NettyChannelContext context)
send.
send
in interface Transport<NettyChannelContext,NettyChannelContext>
context
- a R objectCompletableFuture
objectpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public final Options getOptions()
getOptions.
getOptions
in interface ConfigurationSupport
Options
objectCopyright © 2016–2024. All rights reserved.