Package io.netty.channel.udt.nio
Class NioUdtMessageConnectorChannel
- java.lang.Object
-
- io.netty.util.DefaultAttributeMap
-
- io.netty.channel.AbstractChannel
-
- io.netty.channel.nio.AbstractNioChannel
-
- io.netty.channel.nio.AbstractNioMessageChannel
-
- io.netty.channel.udt.nio.NioUdtMessageConnectorChannel
-
- All Implemented Interfaces:
io.netty.channel.Channel,io.netty.channel.ChannelOutboundInvoker,UdtChannel,io.netty.util.AttributeMap,Comparable<io.netty.channel.Channel>
- Direct Known Subclasses:
NioUdtMessageRendezvousChannel
@Deprecated public class NioUdtMessageConnectorChannel extends io.netty.channel.nio.AbstractNioMessageChannel implements UdtChannel
Deprecated.The UDT transport is no longer maintained and will be removed.Message Connector for UDT Datagrams.Note: send/receive must use
UdtMessagein the pipeline
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.netty.channel.nio.AbstractNioChannel
io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe, io.netty.channel.nio.AbstractNioChannel.NioUnsafe
-
-
Constructor Summary
Constructors Constructor Description NioUdtMessageConnectorChannel()Deprecated.NioUdtMessageConnectorChannel(com.barchart.udt.nio.SocketChannelUDT channelUDT)Deprecated.NioUdtMessageConnectorChannel(com.barchart.udt.TypeUDT type)Deprecated.NioUdtMessageConnectorChannel(io.netty.channel.Channel parent, com.barchart.udt.nio.SocketChannelUDT channelUDT)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UdtChannelConfigconfig()Deprecated.Returns theUdtChannelConfigof the channel.protected voiddoBind(SocketAddress localAddress)Deprecated.protected voiddoClose()Deprecated.protected booleandoConnect(SocketAddress remoteAddress, SocketAddress localAddress)Deprecated.protected voiddoDisconnect()Deprecated.protected voiddoFinishConnect()Deprecated.protected intdoReadMessages(List<Object> buf)Deprecated.protected booleandoWriteMessage(Object msg, io.netty.channel.ChannelOutboundBuffer in)Deprecated.booleanisActive()Deprecated.protected com.barchart.udt.nio.SocketChannelUDTjavaChannel()Deprecated.InetSocketAddresslocalAddress()Deprecated.protected SocketAddresslocalAddress0()Deprecated.io.netty.channel.ChannelMetadatametadata()Deprecated.InetSocketAddressremoteAddress()Deprecated.protected SocketAddressremoteAddress0()Deprecated.-
Methods inherited from class io.netty.channel.nio.AbstractNioMessageChannel
closeOnReadError, continueOnWriteError, continueReading, doBeginRead, doWrite, newUnsafe
-
Methods inherited from class io.netty.channel.nio.AbstractNioChannel
addAndSubmit, clearReadPending, doDeregister, doRegister, isCompatible, isOpen, isReadPending, newDirectBuffer, newDirectBuffer, registration, removeAndSubmit, selectionKey, setReadPending, unsafe
-
Methods inherited from class io.netty.channel.AbstractChannel
closeFuture, compareTo, doRegister, doShutdownOutput, equals, eventLoop, filterOutboundMessage, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, maxMessagesPerWrite, newChannelPipeline, newId, parent, pipeline, toString, validateFileRegion, voidPromise
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.netty.channel.Channel
alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, eventLoop, flush, getOption, id, isOpen, isRegistered, isWritable, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, setOption, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlush
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Constructor Detail
-
NioUdtMessageConnectorChannel
public NioUdtMessageConnectorChannel()
Deprecated.
-
NioUdtMessageConnectorChannel
public NioUdtMessageConnectorChannel(io.netty.channel.Channel parent, com.barchart.udt.nio.SocketChannelUDT channelUDT)Deprecated.
-
NioUdtMessageConnectorChannel
public NioUdtMessageConnectorChannel(com.barchart.udt.nio.SocketChannelUDT channelUDT)
Deprecated.
-
NioUdtMessageConnectorChannel
public NioUdtMessageConnectorChannel(com.barchart.udt.TypeUDT type)
Deprecated.
-
-
Method Detail
-
config
public UdtChannelConfig config()
Deprecated.Description copied from interface:UdtChannelReturns theUdtChannelConfigof the channel.- Specified by:
configin interfaceio.netty.channel.Channel- Specified by:
configin interfaceUdtChannel
-
doBind
protected void doBind(SocketAddress localAddress) throws Exception
Deprecated.- Specified by:
doBindin classio.netty.channel.AbstractChannel- Throws:
Exception
-
doClose
protected void doClose() throws ExceptionDeprecated.- Overrides:
doClosein classio.netty.channel.nio.AbstractNioChannel- Throws:
Exception
-
doConnect
protected boolean doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception
Deprecated.- Specified by:
doConnectin classio.netty.channel.nio.AbstractNioChannel- Throws:
Exception
-
doDisconnect
protected void doDisconnect() throws ExceptionDeprecated.- Specified by:
doDisconnectin classio.netty.channel.AbstractChannel- Throws:
Exception
-
doFinishConnect
protected void doFinishConnect() throws ExceptionDeprecated.- Specified by:
doFinishConnectin classio.netty.channel.nio.AbstractNioChannel- Throws:
Exception
-
doReadMessages
protected int doReadMessages(List<Object> buf) throws Exception
Deprecated.- Specified by:
doReadMessagesin classio.netty.channel.nio.AbstractNioMessageChannel- Throws:
Exception
-
doWriteMessage
protected boolean doWriteMessage(Object msg, io.netty.channel.ChannelOutboundBuffer in) throws Exception
Deprecated.- Specified by:
doWriteMessagein classio.netty.channel.nio.AbstractNioMessageChannel- Throws:
Exception
-
isActive
public boolean isActive()
Deprecated.- Specified by:
isActivein interfaceio.netty.channel.Channel
-
javaChannel
protected com.barchart.udt.nio.SocketChannelUDT javaChannel()
Deprecated.- Overrides:
javaChannelin classio.netty.channel.nio.AbstractNioChannel
-
localAddress0
protected SocketAddress localAddress0()
Deprecated.- Specified by:
localAddress0in classio.netty.channel.AbstractChannel
-
metadata
public io.netty.channel.ChannelMetadata metadata()
Deprecated.- Specified by:
metadatain interfaceio.netty.channel.Channel
-
remoteAddress0
protected SocketAddress remoteAddress0()
Deprecated.- Specified by:
remoteAddress0in classio.netty.channel.AbstractChannel
-
localAddress
public InetSocketAddress localAddress()
Deprecated.- Specified by:
localAddressin interfaceio.netty.channel.Channel- Specified by:
localAddressin interfaceUdtChannel- Overrides:
localAddressin classio.netty.channel.AbstractChannel
-
remoteAddress
public InetSocketAddress remoteAddress()
Deprecated.- Specified by:
remoteAddressin interfaceio.netty.channel.Channel- Specified by:
remoteAddressin interfaceUdtChannel- Overrides:
remoteAddressin classio.netty.channel.AbstractChannel
-
-