@Deprecated public interface UdtChannel extends Channel
Channel 。
支持的UDT UdtChannel可通过NioUdtProvider获取 。
Channel.Unsafe| Modifier and Type | Method and Description |
|---|---|
UdtChannelConfig |
config()
已过时。
返回频道的 UdtChannelConfig 。
|
java.net.InetSocketAddress |
localAddress()
已过时。
返回此通道绑定的本地地址。
|
java.net.InetSocketAddress |
remoteAddress()
已过时。
返回此通道连接到的远程地址。
|
alloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isActive, isOpen, isRegistered, isWritable, metadata, parent, pipeline, read, unsafeattr, hasAttrbind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlushUdtChannelConfig config()
UdtChannelConfig 。
java.net.InetSocketAddress localAddress()
Channel复制的描述
SocketAddress应该被转换为更具体的类型,例如InetSocketAddress以检索详细信息。
localAddress在界面
Channel
null如果此通道未绑定。
java.net.InetSocketAddress remoteAddress()
Channel复制的描述
SocketAddress应该被放入更具体的类型,例如InetSocketAddress以检索详细信息。
remoteAddress在界面
Channel
null if this channel is not connected. If this channel is not connected but it can receive messages from arbitrary remote addresses (e.g.
DatagramChannel, use
DefaultAddressedEnvelope.recipient() to determine the origination of the received message as this method will return
null.
Copyright © 2008–2018 The Netty Project. All rights reserved.