@Deprecated public interface UdtChannel extends Channel
Channel.
Supported UDT UdtChannel are available via NioUdtProvider.
Channel.Unsafe| 限定符和类型 | 方法和说明 |
|---|---|
UdtChannelConfig |
config()
已过时。
Returns the
UdtChannelConfig of the channel. |
java.net.InetSocketAddress |
localAddress()
已过时。
Returns the local address where this channel is bound to.
|
java.net.InetSocketAddress |
remoteAddress()
已过时。
Returns the remote address where this channel is connected to.
|
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 of the channel.java.net.InetSocketAddress localAddress()
ChannelSocketAddress is supposed to be down-cast into more concrete
type such as InetSocketAddress to retrieve the detailed
information.localAddress 在接口中 Channelnull if this channel is not bound.java.net.InetSocketAddress remoteAddress()
ChannelSocketAddress is supposed to be down-cast into more
concrete type such as InetSocketAddress to retrieve the detailed
information.remoteAddress 在接口中 Channelnull 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.