Class NioUdtAcceptorChannel

  • All Implemented Interfaces:
    io.netty.channel.Channel, io.netty.channel.ChannelOutboundInvoker, io.netty.channel.ServerChannel, UdtChannel, UdtServerChannel, io.netty.util.AttributeMap, Comparable<io.netty.channel.Channel>
    Direct Known Subclasses:
    NioUdtByteAcceptorChannel, NioUdtMessageAcceptorChannel

    @Deprecated
    public abstract class NioUdtAcceptorChannel
    extends io.netty.channel.nio.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 io.netty.channel.nio.AbstractNioChannel

        io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe, io.netty.channel.nio.AbstractNioChannel.NioUnsafe
      • Nested classes/interfaces inherited from class io.netty.channel.AbstractChannel

        io.netty.channel.AbstractChannel.AbstractUnsafe
      • Nested classes/interfaces inherited from interface io.netty.channel.Channel

        io.netty.channel.Channel.Unsafe
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static io.netty.util.internal.logging.InternalLogger logger
      Deprecated.
       
      • Fields inherited from class io.netty.channel.nio.AbstractNioChannel

        readInterestOp, readOps
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected NioUdtAcceptorChannel​(com.barchart.udt.nio.ServerSocketChannelUDT channelUDT)
      Deprecated.
       
      protected NioUdtAcceptorChannel​(com.barchart.udt.TypeUDT type)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      UdtServerChannelConfig config()
      Deprecated.
      Returns the UdtChannelConfig of the channel.
      protected void doBind​(SocketAddress localAddress)
      Deprecated.
       
      protected void doClose()
      Deprecated.
       
      protected boolean doConnect​(SocketAddress remoteAddress, SocketAddress localAddress)
      Deprecated.
       
      protected void doDisconnect()
      Deprecated.
       
      protected void doFinishConnect()
      Deprecated.
       
      protected int doReadMessages​(List<Object> buf)
      Deprecated.
       
      protected boolean doWriteMessage​(Object msg, io.netty.channel.ChannelOutboundBuffer in)
      Deprecated.
       
      protected Object filterOutboundMessage​(Object msg)
      Deprecated.
       
      boolean isActive()
      Deprecated.
       
      protected com.barchart.udt.nio.ServerSocketChannelUDT javaChannel()
      Deprecated.
       
      InetSocketAddress localAddress()
      Deprecated.
       
      protected SocketAddress localAddress0()
      Deprecated.
       
      io.netty.channel.ChannelMetadata metadata()
      Deprecated.
       
      protected abstract UdtChannel newConnectorChannel​(com.barchart.udt.nio.SocketChannelUDT channelUDT)
      Deprecated.
       
      InetSocketAddress remoteAddress()
      Deprecated.
       
      protected SocketAddress remoteAddress0()
      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, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, maxMessagesPerWrite, newChannelPipeline, newId, parent, pipeline, toString, validateFileRegion, voidPromise
      • Methods inherited from class io.netty.util.DefaultAttributeMap

        attr, hasAttr
      • Methods inherited from interface io.netty.util.AttributeMap

        attr, hasAttr
      • 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
    • Field Detail

      • logger

        protected static final io.netty.util.internal.logging.InternalLogger logger
        Deprecated.
    • Constructor Detail

      • NioUdtAcceptorChannel

        protected NioUdtAcceptorChannel​(com.barchart.udt.nio.ServerSocketChannelUDT channelUDT)
        Deprecated.
      • NioUdtAcceptorChannel

        protected NioUdtAcceptorChannel​(com.barchart.udt.TypeUDT type)
        Deprecated.
    • Method Detail

      • doBind

        protected void doBind​(SocketAddress localAddress)
                       throws Exception
        Deprecated.
        Specified by:
        doBind in class io.netty.channel.AbstractChannel
        Throws:
        Exception
      • doClose

        protected void doClose()
                        throws Exception
        Deprecated.
        Overrides:
        doClose in class io.netty.channel.nio.AbstractNioChannel
        Throws:
        Exception
      • doConnect

        protected boolean doConnect​(SocketAddress remoteAddress,
                                    SocketAddress localAddress)
                             throws Exception
        Deprecated.
        Specified by:
        doConnect in class io.netty.channel.nio.AbstractNioChannel
        Throws:
        Exception
      • doDisconnect

        protected void doDisconnect()
                             throws Exception
        Deprecated.
        Specified by:
        doDisconnect in class io.netty.channel.AbstractChannel
        Throws:
        Exception
      • doFinishConnect

        protected void doFinishConnect()
                                throws Exception
        Deprecated.
        Specified by:
        doFinishConnect in class io.netty.channel.nio.AbstractNioChannel
        Throws:
        Exception
      • doWriteMessage

        protected boolean doWriteMessage​(Object msg,
                                         io.netty.channel.ChannelOutboundBuffer in)
                                  throws Exception
        Deprecated.
        Specified by:
        doWriteMessage in class io.netty.channel.nio.AbstractNioMessageChannel
        Throws:
        Exception
      • filterOutboundMessage

        protected final Object filterOutboundMessage​(Object msg)
                                              throws Exception
        Deprecated.
        Overrides:
        filterOutboundMessage in class io.netty.channel.AbstractChannel
        Throws:
        Exception
      • isActive

        public boolean isActive()
        Deprecated.
        Specified by:
        isActive in interface io.netty.channel.Channel
      • javaChannel

        protected com.barchart.udt.nio.ServerSocketChannelUDT javaChannel()
        Deprecated.
        Overrides:
        javaChannel in class io.netty.channel.nio.AbstractNioChannel
      • localAddress0

        protected SocketAddress localAddress0()
        Deprecated.
        Specified by:
        localAddress0 in class io.netty.channel.AbstractChannel
      • localAddress

        public InetSocketAddress localAddress()
        Deprecated.
        Specified by:
        localAddress in interface io.netty.channel.Channel
        Specified by:
        localAddress in interface UdtChannel
        Overrides:
        localAddress in class io.netty.channel.AbstractChannel
      • remoteAddress

        public InetSocketAddress remoteAddress()
        Deprecated.
        Specified by:
        remoteAddress in interface io.netty.channel.Channel
        Specified by:
        remoteAddress in interface UdtChannel
        Overrides:
        remoteAddress in class io.netty.channel.AbstractChannel
      • remoteAddress0

        protected SocketAddress remoteAddress0()
        Deprecated.
        Specified by:
        remoteAddress0 in class io.netty.channel.AbstractChannel
      • metadata

        public io.netty.channel.ChannelMetadata metadata()
        Deprecated.
        Specified by:
        metadata in interface io.netty.channel.Channel
      • doReadMessages

        protected int doReadMessages​(List<Object> buf)
                              throws Exception
        Deprecated.
        Specified by:
        doReadMessages in class io.netty.channel.nio.AbstractNioMessageChannel
        Throws:
        Exception
      • newConnectorChannel

        protected abstract UdtChannel newConnectorChannel​(com.barchart.udt.nio.SocketChannelUDT channelUDT)
        Deprecated.