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, waitget, get, getOrDefault, getOrDefault, lock, set, unlockpublic 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 Closeableclose in interface AutoCloseableIOExceptionpublic final Options getOptions()
getOptions.
getOptions in interface ConfigurationSupportOptions objectCopyright © 2016–2024. All rights reserved.