public class NioUdtByteConnectorChannel extends io.netty.channel.nio.AbstractNioByteChannel implements UdtChannel
io.netty.channel.nio.AbstractNioByteChannel.NioByteUnsafeio.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe, io.netty.channel.nio.AbstractNioChannel.NioUnsafe| Constructor and Description |
|---|
NioUdtByteConnectorChannel() |
NioUdtByteConnectorChannel(io.netty.channel.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()
Returns the
UdtChannelConfig of the channel. |
protected void |
doBind(SocketAddress localAddress) |
protected void |
doClose() |
protected boolean |
doConnect(SocketAddress remoteAddress,
SocketAddress localAddress) |
protected void |
doDisconnect() |
protected void |
doFinishConnect() |
protected int |
doReadBytes(io.netty.buffer.ByteBuf byteBuf) |
protected int |
doWriteBytes(io.netty.buffer.ByteBuf byteBuf) |
protected long |
doWriteFileRegion(io.netty.channel.FileRegion region) |
boolean |
isActive() |
protected com.barchart.udt.nio.SocketChannelUDT |
javaChannel() |
InetSocketAddress |
localAddress() |
protected SocketAddress |
localAddress0() |
io.netty.channel.ChannelMetadata |
metadata() |
InetSocketAddress |
remoteAddress() |
protected SocketAddress |
remoteAddress0() |
clearOpWrite, doWrite, filterOutboundMessage, incompleteWrite, newUnsafe, setOpWritedoBeginRead, doDeregister, doRegister, eventLoop, isCompatible, isInputShutdown, isOpen, isReadPending, newDirectBuffer, newDirectBuffer, selectionKey, setReadPending, unsafealloc, bind, bind, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, equals, flush, hashCode, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, newChannelPipeline, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, voidPromise, write, write, writeAndFlush, writeAndFlushclone, finalize, getClass, notify, notifyAll, wait, wait, waitalloc, bind, bind, close, close, closeFuture, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, eventLoop, flush, isOpen, isRegistered, isWritable, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlushcompareTopublic NioUdtByteConnectorChannel()
public NioUdtByteConnectorChannel(io.netty.channel.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()
UdtChannelUdtChannelConfig of the channel.config in interface io.netty.channel.Channelconfig in interface UdtChannelprotected void doBind(SocketAddress localAddress) throws Exception
doBind in class io.netty.channel.AbstractChannelExceptionprotected void doClose()
throws Exception
doClose in class io.netty.channel.nio.AbstractNioChannelExceptionprotected boolean doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception
doConnect in class io.netty.channel.nio.AbstractNioChannelExceptionprotected void doDisconnect()
throws Exception
doDisconnect in class io.netty.channel.AbstractChannelExceptionprotected void doFinishConnect()
throws Exception
doFinishConnect in class io.netty.channel.nio.AbstractNioChannelExceptionprotected int doReadBytes(io.netty.buffer.ByteBuf byteBuf)
throws Exception
doReadBytes in class io.netty.channel.nio.AbstractNioByteChannelExceptionprotected int doWriteBytes(io.netty.buffer.ByteBuf byteBuf)
throws Exception
doWriteBytes in class io.netty.channel.nio.AbstractNioByteChannelExceptionprotected long doWriteFileRegion(io.netty.channel.FileRegion region)
throws Exception
doWriteFileRegion in class io.netty.channel.nio.AbstractNioByteChannelExceptionpublic boolean isActive()
isActive in interface io.netty.channel.Channelprotected com.barchart.udt.nio.SocketChannelUDT javaChannel()
javaChannel in class io.netty.channel.nio.AbstractNioChannelprotected SocketAddress localAddress0()
localAddress0 in class io.netty.channel.AbstractChannelpublic io.netty.channel.ChannelMetadata metadata()
metadata in interface io.netty.channel.Channelprotected SocketAddress remoteAddress0()
remoteAddress0 in class io.netty.channel.AbstractChannelpublic InetSocketAddress localAddress()
localAddress in interface io.netty.channel.ChannellocalAddress in interface UdtChannellocalAddress in class io.netty.channel.AbstractChannelpublic InetSocketAddress remoteAddress()
remoteAddress in interface io.netty.channel.ChannelremoteAddress in interface UdtChannelremoteAddress in class io.netty.channel.AbstractChannelCopyright © 2008–2017 The Netty Project. All rights reserved.