Class RxtxChannel

  • All Implemented Interfaces:
    io.netty.channel.Channel, io.netty.channel.ChannelOutboundInvoker, io.netty.util.AttributeMap, Comparable<io.netty.channel.Channel>

    @Deprecated
    public class RxtxChannel
    extends io.netty.channel.oio.OioByteStreamChannel
    Deprecated.
    this transport will be removed in the next major version.
    A channel to a serial device using the RXTX library.
    • Nested Class Summary

      • 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 inherited from class io.netty.channel.oio.AbstractOioChannel

        SO_TIMEOUT
    • Constructor Summary

      Constructors 
      Constructor Description
      RxtxChannel()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      RxtxChannelConfig config()
      Deprecated.
       
      protected void doBind​(SocketAddress localAddress)
      Deprecated.
       
      protected void doClose()
      Deprecated.
       
      protected void doConnect​(SocketAddress remoteAddress, SocketAddress localAddress)
      Deprecated.
       
      protected void doDisconnect()
      Deprecated.
       
      protected void doInit()
      Deprecated.
       
      protected boolean isInputShutdown()
      Deprecated.
       
      boolean isOpen()
      Deprecated.
       
      RxtxDeviceAddress localAddress()
      Deprecated.
       
      protected RxtxDeviceAddress localAddress0()
      Deprecated.
       
      protected io.netty.channel.AbstractChannel.AbstractUnsafe newUnsafe()
      Deprecated.
       
      RxtxDeviceAddress remoteAddress()
      Deprecated.
       
      protected RxtxDeviceAddress remoteAddress0()
      Deprecated.
       
      protected io.netty.channel.ChannelFuture shutdownInput()
      Deprecated.
       
      • Methods inherited from class io.netty.channel.oio.OioByteStreamChannel

        activate, available, doReadBytes, doWriteBytes, doWriteFileRegion, isActive
      • Methods inherited from class io.netty.channel.oio.AbstractOioByteChannel

        doRead, doWrite, filterOutboundMessage, metadata
      • Methods inherited from class io.netty.channel.oio.AbstractOioChannel

        clearReadPending, doBeginRead, isCompatible, isReadPending, setReadPending
      • Methods inherited from class io.netty.channel.AbstractChannel

        closeFuture, compareTo, doDeregister, doRegister, doRegister, doShutdownOutput, equals, eventLoop, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, maxMessagesPerWrite, newChannelPipeline, newId, parent, pipeline, toString, unsafe, 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, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, flush, getOption, isWritable, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, read, setOption, write, write, writeAndFlush, writeAndFlush
    • Constructor Detail

      • RxtxChannel

        public RxtxChannel()
        Deprecated.
    • Method Detail

      • isOpen

        public boolean isOpen()
        Deprecated.
      • newUnsafe

        protected io.netty.channel.AbstractChannel.AbstractUnsafe newUnsafe()
        Deprecated.
        Overrides:
        newUnsafe in class io.netty.channel.oio.AbstractOioChannel
      • doConnect

        protected void doConnect​(SocketAddress remoteAddress,
                                 SocketAddress localAddress)
                          throws Exception
        Deprecated.
        Specified by:
        doConnect in class io.netty.channel.oio.AbstractOioChannel
        Throws:
        Exception
      • localAddress

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

        public RxtxDeviceAddress remoteAddress()
        Deprecated.
        Specified by:
        remoteAddress in interface io.netty.channel.Channel
        Overrides:
        remoteAddress in class io.netty.channel.AbstractChannel
      • localAddress0

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

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

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

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

        protected void doClose()
                        throws Exception
        Deprecated.
        Overrides:
        doClose in class io.netty.channel.oio.OioByteStreamChannel
        Throws:
        Exception
      • isInputShutdown

        protected boolean isInputShutdown()
        Deprecated.
        Specified by:
        isInputShutdown in class io.netty.channel.oio.AbstractOioByteChannel
      • shutdownInput

        protected io.netty.channel.ChannelFuture shutdownInput()
        Deprecated.
        Specified by:
        shutdownInput in class io.netty.channel.oio.AbstractOioByteChannel