@Deprecated public class NioUdtByteConnectorChannel extends AbstractNioByteChannel implements UdtChannel
AbstractNioByteChannel.NioByteUnsafeAbstractNioChannel.AbstractNioUnsafe, AbstractNioChannel.NioUnsafeAbstractChannel.AbstractUnsafeChannel.UnsafereadInterestOp| Constructor and Description |
|---|
NioUdtByteConnectorChannel()
已过时。
|
NioUdtByteConnectorChannel(Channel parent, com.barchart.udt.nio.SocketChannelUDT channelUDT)
已过时。
|
NioUdtByteConnectorChannel(com.barchart.udt.nio.SocketChannelUDT channelUDT)
已过时。
|
NioUdtByteConnectorChannel(com.barchart.udt.TypeUDT type)
已过时。
|
| Modifier and Type | Method and Description |
|---|---|
UdtChannelConfig |
config()
已过时。
返回频道的 UdtChannelConfig 。
|
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 |
doReadBytes(ByteBuf byteBuf)
已过时。
将字节读入给定的 ByteBuf并返回金额。
|
protected int |
doWriteBytes(ByteBuf byteBuf)
已过时。
写入字节从给定的 ByteBuf到底层的Channel 。
|
protected long |
doWriteFileRegion(FileRegion region)
已过时。
写一个 FileRegion
|
boolean |
isActive()
已过时。
如果 Channel处于活动状态并已连接,则返回true 。
|
protected com.barchart.udt.nio.SocketChannelUDT |
javaChannel()
已过时。
|
java.net.InetSocketAddress |
localAddress()
已过时。
返回此通道绑定的本地地址。
|
protected java.net.SocketAddress |
localAddress0()
已过时。
返回本地绑定的
SocketAddress 。
|
java.net.InetSocketAddress |
remoteAddress()
已过时。
返回此通道连接到的远程地址。
|
protected java.net.SocketAddress |
remoteAddress0()
已过时。
返回 SocketAddress其中Channel被连接到。
|
protected ChannelFuture |
shutdownInput()
已过时。
关闭通道的输入端。
|
clearOpWrite, doWrite, doWrite0, filterOutboundMessage, incompleteWrite, isInputShutdown0, metadata, newUnsafe, setOpWriteclearReadPending, doBeginRead, 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, 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, writeAndFlushpublic NioUdtByteConnectorChannel()
public NioUdtByteConnectorChannel(Channel parent, com.barchart.udt.nio.SocketChannelUDT channelUDT)
public NioUdtByteConnectorChannel(com.barchart.udt.nio.SocketChannelUDT channelUDT)
public NioUdtByteConnectorChannel(com.barchart.udt.TypeUDT type)
public UdtChannelConfig config()
UdtChannel
UdtChannelConfig 。
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 int doReadBytes(ByteBuf byteBuf) throws java.lang.Exception
AbstractNioByteChannel
ByteBuf并返回该金额。
doReadBytes在课堂上
AbstractNioByteChannel
java.lang.Exception
protected int doWriteBytes(ByteBuf byteBuf) throws java.lang.Exception
AbstractNioByteChannel
ByteBuf到底层的Channel 。
doWriteBytes在课堂上
AbstractNioByteChannel
byteBuf - 应写入字节的ByteBuf
java.lang.Exception
protected ChannelFuture shutdownInput()
AbstractNioByteChannel
shutdownInput在课堂
AbstractNioByteChannel
protected long doWriteFileRegion(FileRegion region) throws java.lang.Exception
AbstractNioByteChannel
FileRegion
doWriteFileRegion
AbstractNioByteChannel
region - 应写入字节的FileRegion
java.lang.Exception
protected com.barchart.udt.nio.SocketChannelUDT javaChannel()
javaChannel在课堂
AbstractNioChannel
protected java.net.SocketAddress localAddress0()
AbstractChannel
SocketAddress 。
localAddress0在课堂
AbstractChannel
protected java.net.SocketAddress remoteAddress0()
AbstractChannel
SocketAddress其中Channel被连接到。
remoteAddress0在课堂上
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 。
Copyright © 2008–2018 The Netty Project. All rights reserved.