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 |
|---|---|
io.netty.buffer.ByteBufAllocator |
alloc() |
io.netty.channel.ChannelFuture |
bind(SocketAddress arg0) |
io.netty.channel.ChannelFuture |
bind(SocketAddress arg0,
io.netty.channel.ChannelPromise arg1) |
io.netty.channel.ChannelFuture |
close() |
io.netty.channel.ChannelFuture |
close(io.netty.channel.ChannelPromise arg0) |
UdtChannelConfig |
config()
Returns the
UdtChannelConfig of the channel. |
io.netty.channel.ChannelFuture |
connect(SocketAddress arg0) |
io.netty.channel.ChannelFuture |
connect(SocketAddress arg0,
io.netty.channel.ChannelPromise arg1) |
io.netty.channel.ChannelFuture |
connect(SocketAddress arg0,
SocketAddress arg1) |
io.netty.channel.ChannelFuture |
connect(SocketAddress arg0,
SocketAddress arg1,
io.netty.channel.ChannelPromise arg2) |
io.netty.channel.ChannelFuture |
deregister() |
io.netty.channel.ChannelFuture |
deregister(io.netty.channel.ChannelPromise arg0) |
io.netty.channel.ChannelFuture |
disconnect() |
io.netty.channel.ChannelFuture |
disconnect(io.netty.channel.ChannelPromise arg0) |
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) |
boolean |
isActive() |
protected com.barchart.udt.nio.SocketChannelUDT |
javaChannel() |
InetSocketAddress |
localAddress() |
protected SocketAddress |
localAddress0() |
io.netty.channel.ChannelMetadata |
metadata() |
io.netty.channel.ChannelFuture |
newFailedFuture(Throwable arg0) |
io.netty.channel.ChannelProgressivePromise |
newProgressivePromise() |
io.netty.channel.ChannelPromise |
newPromise() |
io.netty.channel.ChannelFuture |
newSucceededFuture() |
io.netty.channel.ChannelPipeline |
pipeline() |
InetSocketAddress |
remoteAddress() |
protected SocketAddress |
remoteAddress0() |
io.netty.channel.ChannelPromise |
voidPromise() |
io.netty.channel.ChannelFuture |
write(Object arg0) |
io.netty.channel.ChannelFuture |
write(Object arg0,
io.netty.channel.ChannelPromise arg1) |
io.netty.channel.ChannelFuture |
writeAndFlush(Object arg0) |
io.netty.channel.ChannelFuture |
writeAndFlush(Object arg0,
io.netty.channel.ChannelPromise arg1) |
doBeginRead, doDeregister, doRegister, eventLoop, isCompatible, isInputShutdown, isOpen, selectionKey, unsafealloc, bind, bind, calculateMessageSize, checkEOF, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doPreClose, equals, flush, hashCode, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, voidPromise, write, write, writeAndFlush, writeAndFlushclone, finalize, getClass, notify, notifyAll, wait, wait, waitcloseFuture, eventLoop, flush, isOpen, isRegistered, isWritable, parent, read, unsafecompareTopublic 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.AbstractChannelExceptionprotected 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) 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.AbstractChannelpublic io.netty.channel.ChannelFuture bind(SocketAddress arg0)
public io.netty.channel.ChannelFuture connect(SocketAddress arg0)
public io.netty.channel.ChannelFuture connect(SocketAddress arg0, SocketAddress arg1)
public io.netty.channel.ChannelFuture disconnect()
public io.netty.channel.ChannelFuture close()
public io.netty.channel.ChannelFuture deregister()
public io.netty.channel.ChannelFuture bind(SocketAddress arg0, io.netty.channel.ChannelPromise arg1)
public io.netty.channel.ChannelFuture connect(SocketAddress arg0, io.netty.channel.ChannelPromise arg1)
public io.netty.channel.ChannelFuture connect(SocketAddress arg0, SocketAddress arg1, io.netty.channel.ChannelPromise arg2)
public io.netty.channel.ChannelFuture disconnect(io.netty.channel.ChannelPromise arg0)
public io.netty.channel.ChannelFuture close(io.netty.channel.ChannelPromise arg0)
public io.netty.channel.ChannelFuture deregister(io.netty.channel.ChannelPromise arg0)
public io.netty.channel.ChannelFuture write(Object arg0)
public io.netty.channel.ChannelFuture write(Object arg0, io.netty.channel.ChannelPromise arg1)
public io.netty.channel.ChannelFuture writeAndFlush(Object arg0, io.netty.channel.ChannelPromise arg1)
public io.netty.channel.ChannelFuture writeAndFlush(Object arg0)
public io.netty.channel.ChannelPipeline pipeline()
public io.netty.buffer.ByteBufAllocator alloc()
public io.netty.channel.ChannelPromise newPromise()
public io.netty.channel.ChannelProgressivePromise newProgressivePromise()
public io.netty.channel.ChannelFuture newSucceededFuture()
public io.netty.channel.ChannelFuture newFailedFuture(Throwable arg0)
public io.netty.channel.ChannelPromise voidPromise()
Copyright © 2008–2013 The Netty Project. All rights reserved.