Class NioUdtAcceptorChannel
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.NioUdtAcceptorChannel
- All Implemented Interfaces:
Channel, ChannelOutboundInvoker, ServerChannel, UdtChannel, UdtServerChannel, AttributeMap, Comparable<Channel>
- Direct Known Subclasses:
NioUdtByteAcceptorChannel, NioUdtMessageAcceptorChannel
@Deprecated
public abstract class NioUdtAcceptorChannel
extends AbstractNioMessageChannel
implements UdtServerChannel
Deprecated.
The UDT transport is no longer maintained and will be removed.
Common base for Netty Byte/Message UDT Stream/Datagram acceptors.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractNioChannel
AbstractNioChannel.AbstractNioUnsafe, AbstractNioChannel.NioUnsafeNested classes/interfaces inherited from class AbstractChannel
AbstractChannel.AbstractUnsafeNested classes/interfaces inherited from interface Channel
Channel.Unsafe -
Field Summary
FieldsFields inherited from class AbstractNioChannel
readInterestOp, readOps -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNioUdtAcceptorChannel(com.barchart.udt.nio.ServerSocketChannelUDT channelUDT) Deprecated.protectedNioUdtAcceptorChannel(com.barchart.udt.TypeUDT type) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionconfig()Deprecated.Returns the configuration of this channel.protected voiddoBind(SocketAddress localAddress) Deprecated.Bind theChannelto theSocketAddressprotected voiddoClose()Deprecated.Close theChannelprotected booleandoConnect(SocketAddress remoteAddress, SocketAddress localAddress) Deprecated.Connect to the remote peerprotected voidDeprecated.Disconnect thisChannelfrom its remote peerprotected voidDeprecated.Finish the connectprotected intdoReadMessages(List<Object> buf) Deprecated.Read messages into the given array and return the amount which was read.protected booleandoWriteMessage(Object msg, ChannelOutboundBuffer in) Deprecated.Write a message to the underlyingChannel.protected final ObjectDeprecated.Invoked when a new message is added to aChannelOutboundBufferof thisAbstractChannel, so that theChannelimplementation converts the message to another.booleanisActive()Deprecated.Returntrueif theChannelis active and so connected.protected com.barchart.udt.nio.ServerSocketChannelUDTDeprecated.Deprecated.Returns the local address where this channel is bound to.protected SocketAddressDeprecated.Returns theSocketAddresswhich is bound locally.metadata()Deprecated.protected abstract UdtChannelnewConnectorChannel(com.barchart.udt.nio.SocketChannelUDT channelUDT) Deprecated.Deprecated.Returns the remote address where this channel is connected to.protected SocketAddressDeprecated.Return theSocketAddresswhich theChannelis connected to.Methods inherited from class AbstractNioMessageChannel
closeOnReadError, continueOnWriteError, continueReading, doBeginRead, doWrite, newUnsafeMethods inherited from class AbstractNioChannel
addAndSubmit, clearReadPending, doDeregister, doRegister, isCompatible, isOpen, isReadPending, newDirectBuffer, newDirectBuffer, registration, removeAndSubmit, selectionKey, setReadPending, unsafeMethods inherited from class AbstractChannel
closeFuture, compareTo, doRegister, doShutdownOutput, equals, eventLoop, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, maxMessagesPerWrite, newChannelPipeline, newId, parent, pipeline, toString, validateFileRegion, voidPromiseMethods inherited from class DefaultAttributeMap
attr, hasAttrMethods inherited from interface AttributeMap
attr, hasAttrMethods inherited from interface 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, writeAndFlushMethods inherited from interface Comparable
compareTo
-
Field Details
-
logger
Deprecated.
-
-
Constructor Details
-
NioUdtAcceptorChannel
protected NioUdtAcceptorChannel(com.barchart.udt.nio.ServerSocketChannelUDT channelUDT) Deprecated. -
NioUdtAcceptorChannel
protected NioUdtAcceptorChannel(com.barchart.udt.TypeUDT type) Deprecated.
-
-
Method Details
-
config
Deprecated.Description copied from interface:ChannelReturns the configuration of this channel.- Specified by:
configin interfaceChannel- Specified by:
configin interfaceUdtChannel
-
doBind
Deprecated.Description copied from class:AbstractChannelBind theChannelto theSocketAddress- Specified by:
doBindin classAbstractChannel- Throws:
Exception
-
doClose
Deprecated.Description copied from class:AbstractChannelClose theChannel- Overrides:
doClosein classAbstractNioChannel- Throws:
Exception
-
doConnect
protected boolean doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception Deprecated.Description copied from class:AbstractNioChannelConnect to the remote peer- Specified by:
doConnectin classAbstractNioChannel- Throws:
Exception
-
doDisconnect
Deprecated.Description copied from class:AbstractChannelDisconnect thisChannelfrom its remote peer- Specified by:
doDisconnectin classAbstractChannel- Throws:
Exception
-
doFinishConnect
Deprecated.Description copied from class:AbstractNioChannelFinish the connect- Specified by:
doFinishConnectin classAbstractNioChannel- Throws:
Exception
-
doWriteMessage
Deprecated.Description copied from class:AbstractNioMessageChannelWrite a message to the underlyingChannel.- Specified by:
doWriteMessagein classAbstractNioMessageChannel- Returns:
trueif and only if the message has been written- Throws:
Exception
-
filterOutboundMessage
Deprecated.Description copied from class:AbstractChannelInvoked when a new message is added to aChannelOutboundBufferof thisAbstractChannel, so that theChannelimplementation converts the message to another. (e.g. heap buffer -> direct buffer)- Overrides:
filterOutboundMessagein classAbstractChannel- Throws:
Exception
-
isActive
-
javaChannel
protected com.barchart.udt.nio.ServerSocketChannelUDT javaChannel()Deprecated.- Overrides:
javaChannelin classAbstractNioChannel
-
localAddress0
Deprecated.Description copied from class:AbstractChannelReturns theSocketAddresswhich is bound locally.- Specified by:
localAddress0in classAbstractChannel
-
localAddress
Deprecated.Description copied from interface:ChannelReturns the local address where this channel is bound to. The returnedSocketAddressis supposed to be down-cast into more concrete type such asInetSocketAddressto retrieve the detailed information.- Specified by:
localAddressin interfaceChannel- Specified by:
localAddressin interfaceUdtChannel- Overrides:
localAddressin classAbstractChannel- Returns:
- the local address of this channel.
nullif this channel is not bound.
-
remoteAddress
Deprecated.Description copied from interface:ChannelReturns the remote address where this channel is connected to. The returnedSocketAddressis supposed to be down-cast into more concrete type such asInetSocketAddressto retrieve the detailed information.- Specified by:
remoteAddressin interfaceChannel- Specified by:
remoteAddressin interfaceUdtChannel- Overrides:
remoteAddressin classAbstractChannel- Returns:
- the remote address of this channel.
nullif this channel is not connected. If this channel is not connected but it can receive messages from arbitrary remote addresses (e.g.DatagramChannel, useDefaultAddressedEnvelope.recipient()to determine the origination of the received message as this method will returnnull.
-
remoteAddress0
Deprecated.Description copied from class:AbstractChannelReturn theSocketAddresswhich theChannelis connected to.- Specified by:
remoteAddress0in classAbstractChannel
-
metadata
Deprecated.Description copied from interface:Channel -
doReadMessages
Deprecated.Description copied from class:AbstractNioMessageChannelRead messages into the given array and return the amount which was read.- Specified by:
doReadMessagesin classAbstractNioMessageChannel- Throws:
Exception
-
newConnectorChannel
Deprecated.
-