@Deprecated public abstract class NioUdtAcceptorChannel extends AbstractNioMessageChannel implements UdtServerChannel
AbstractNioChannel.AbstractNioUnsafe, AbstractNioChannel.NioUnsafeAbstractChannel.AbstractUnsafeChannel.Unsafe| Modifier and Type | Field and Description |
|---|---|
protected static io.netty.util.internal.logging.InternalLogger |
logger
已过时。
|
readInterestOp| Modifier | Constructor and Description |
|---|---|
protected |
NioUdtAcceptorChannel(com.barchart.udt.nio.ServerSocketChannelUDT channelUDT)
已过时。
|
protected |
NioUdtAcceptorChannel(com.barchart.udt.TypeUDT type)
已过时。
|
| Modifier and Type | Method and Description |
|---|---|
UdtServerChannelConfig |
config()
已过时。
返回此频道的配置。
|
protected void |
doBind(java.net.SocketAddress localAddress)
已过时。
将 Channel绑定到SocketAddress
|
protected void |
doClose()
已过时。
关闭 Channel
|
protected boolean |
doConnect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)
已过时。
连接到远程对等
|
protected void |
doDisconnect()
已过时。
将此 Channel从其远程对等端断开
|
protected void |
doFinishConnect()
已过时。
完成连接
|
protected int |
doReadMessages(java.util.List<java.lang.Object> buf)
已过时。
将消息读入给定数组并返回读取的数量。
|
protected boolean |
doWriteMessage(java.lang.Object msg, ChannelOutboundBuffer in)
已过时。
写下消息到底层
Channel 。
|
protected java.lang.Object |
filterOutboundMessage(java.lang.Object msg)
已过时。
当新消息添加到此8249118891440的 ChannelOutboundBuffer中时调用 ,以便Channel实现将消息转换为另一个消息。
|
boolean |
isActive()
已过时。
如果 Channel处于活动状态并已连接,则返回true 。
|
protected com.barchart.udt.nio.ServerSocketChannelUDT |
javaChannel()
已过时。
|
java.net.InetSocketAddress |
localAddress()
已过时。
返回此通道绑定的本地地址。
|
protected java.net.SocketAddress |
localAddress0()
已过时。
返回本地绑定的
SocketAddress 。
|
ChannelMetadata |
metadata()
已过时。
返回 ChannelMetadata的的Channel其描述的性质Channel 。
|
protected abstract UdtChannel |
newConnectorChannel(com.barchart.udt.nio.SocketChannelUDT channelUDT)
已过时。
|
java.net.InetSocketAddress |
remoteAddress()
已过时。
返回此通道连接到的远程地址。
|
protected java.net.SocketAddress |
remoteAddress0()
已过时。
返回 SocketAddress其中Channel被连接到。
|
closeOnReadError, continueOnWriteError, doBeginRead, doWrite, newUnsafeclearReadPending, doDeregister, doRegister, eventLoop, isCompatible, isOpen, isReadPending, newDirectBuffer, newDirectBuffer, selectionKey, setReadPending, unsafealloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doShutdownOutput, equals, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, voidPromise, write, write, writeAndFlush, writeAndFlushattr, hasAttrclone, finalize, getClass, notify, notifyAll, wait, wait, waitalloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isOpen, isRegistered, isWritable, parent, pipeline, read, unsafeattr, hasAttrbind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlushprotected NioUdtAcceptorChannel(com.barchart.udt.nio.ServerSocketChannelUDT channelUDT)
protected NioUdtAcceptorChannel(com.barchart.udt.TypeUDT type)
public UdtServerChannelConfig config()
Channel复制的描述
config在界面
Channel
config在界面
UdtChannel
protected void doBind(java.net.SocketAddress localAddress)
throws java.lang.Exception
AbstractChannel
Channel绑定到SocketAddress
doBind在课堂上
AbstractChannel
java.lang.Exception
protected void doClose()
throws java.lang.Exception
AbstractChannel
Channel
doClose在课堂上
AbstractNioChannel
java.lang.Exception
protected boolean doConnect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress)
throws java.lang.Exception
AbstractNioChannel
doConnect在课堂上
AbstractNioChannel
java.lang.Exception
protected void doDisconnect()
throws java.lang.Exception
AbstractChannel
Channel从其远程对等方断开
doDisconnect在课堂上
AbstractChannel
java.lang.Exception
protected void doFinishConnect()
throws java.lang.Exception
AbstractNioChannel
doFinishConnect在课堂
AbstractNioChannel
java.lang.Exception
protected boolean doWriteMessage(java.lang.Object msg,
ChannelOutboundBuffer in)
throws java.lang.Exception
AbstractNioMessageChannel
Channel 。
doWriteMessage在课堂
AbstractNioMessageChannel
true当且仅当消息已被写入
java.lang.Exception
protected final java.lang.Object filterOutboundMessage(java.lang.Object msg)
throws java.lang.Exception
AbstractChannel
ChannelOutboundBuffer中时调用 ,以便Channel实现将消息转换为另一个消息。
(例如堆缓冲区 - >直接缓冲区)
filterOutboundMessage在课堂
AbstractChannel
java.lang.Exception
protected com.barchart.udt.nio.ServerSocketChannelUDT javaChannel()
javaChannel在课堂上
AbstractNioChannel
protected java.net.SocketAddress localAddress0()
AbstractChannel
SocketAddress 。
localAddress0在课堂上
AbstractChannel
public java.net.InetSocketAddress localAddress()
Channel复制的描述
SocketAddress应该被下调为更具体的类型,例如InetSocketAddress以检索详细信息。
localAddress在界面
Channel
localAddress在界面
UdtChannel
localAddress在课堂上
AbstractChannel
null如果这个频道没有绑定。
public java.net.InetSocketAddress remoteAddress()
Channel复制的描述
SocketAddress应该被下调为更具体的类型,例如InetSocketAddress以检索详细信息。
remoteAddress在界面
Channel
remoteAddress在界面
UdtChannel
remoteAddress在类
AbstractChannel
null如果此通道未连接。
如果此通道未连接,但可以接收来自任意远程地址的消息(例如DatagramChannel ,请使用DefaultAddressedEnvelope.recipient()来确定接收消息的来源,因为此方法将返回null 。
protected java.net.SocketAddress remoteAddress0()
AbstractChannel
SocketAddress其中Channel被连接到。
remoteAddress0在课堂上
AbstractChannel
public ChannelMetadata metadata()
Channel复制的描述
ChannelMetadata的的Channel其描述的性质Channel 。
protected int doReadMessages(java.util.List<java.lang.Object> buf)
throws java.lang.Exception
AbstractNioMessageChannel
doReadMessages在课堂上
AbstractNioMessageChannel
java.lang.Exception
protected abstract UdtChannel newConnectorChannel(com.barchart.udt.nio.SocketChannelUDT channelUDT)
Copyright © 2008–2018 The Netty Project. All rights reserved.