public class NioUdtMessageConnectorChannel extends io.netty.channel.nio.AbstractNioMessageChannel implements UdtChannel
Note: send/receive must use UdtMessage in the pipeline
io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe, io.netty.channel.nio.AbstractNioChannel.NioUnsafe| Constructor and Description |
|---|
NioUdtMessageConnectorChannel() |
NioUdtMessageConnectorChannel(io.netty.channel.Channel parent,
com.barchart.udt.nio.SocketChannelUDT channelUDT) |
NioUdtMessageConnectorChannel(com.barchart.udt.nio.SocketChannelUDT channelUDT) |
NioUdtMessageConnectorChannel(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 |
doReadMessages(List<Object> buf) |
protected boolean |
doWriteMessage(Object msg,
io.netty.channel.ChannelOutboundBuffer in) |
boolean |
isActive() |
protected com.barchart.udt.nio.SocketChannelUDT |
javaChannel() |
InetSocketAddress |
localAddress() |
protected SocketAddress |
localAddress0() |
io.netty.channel.ChannelMetadata |
metadata() |
InetSocketAddress |
remoteAddress() |
protected SocketAddress |
remoteAddress0() |
continueOnWriteError, doWrite, newUnsafedoBeginRead, 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, filterOutboundMessage, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, 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, id, isOpen, isRegistered, isWritable, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlushcompareTopublic NioUdtMessageConnectorChannel()
public NioUdtMessageConnectorChannel(io.netty.channel.Channel parent,
com.barchart.udt.nio.SocketChannelUDT channelUDT)
public NioUdtMessageConnectorChannel(com.barchart.udt.nio.SocketChannelUDT channelUDT)
public NioUdtMessageConnectorChannel(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 doReadMessages(List<Object> buf) throws Exception
doReadMessages in class io.netty.channel.nio.AbstractNioMessageChannelExceptionprotected boolean doWriteMessage(Object msg, io.netty.channel.ChannelOutboundBuffer in) throws Exception
doWriteMessage in class io.netty.channel.nio.AbstractNioMessageChannelExceptionpublic 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–2015 The Netty Project. All rights reserved.