Class RxtxChannel

    • Constructor Detail

      • RxtxChannel

        public RxtxChannel()
        Deprecated.
    • Method Detail

      • config

        public RxtxChannelConfig config()
        Deprecated.
        Description copied from interface: Channel
        Returns the configuration of this channel.
      • isOpen

        public boolean isOpen()
        Deprecated.
        Description copied from interface: Channel
        Returns true if the Channel is open and may get active later
      • doConnect

        protected void doConnect​(java.net.SocketAddress remoteAddress,
                                 java.net.SocketAddress localAddress)
                          throws java.lang.Exception
        Deprecated.
        Description copied from class: AbstractOioChannel
        Connect to the remote peer using the given localAddress if one is specified or null otherwise.
        Specified by:
        doConnect in class AbstractOioChannel
        Throws:
        java.lang.Exception
      • doInit

        protected void doInit()
                       throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception
      • localAddress

        public RxtxDeviceAddress localAddress()
        Deprecated.
        Description copied from interface: Channel
        Returns the local address where this channel is bound to. The returned SocketAddress is supposed to be down-cast into more concrete type such as InetSocketAddress to retrieve the detailed information.
        Specified by:
        localAddress in interface Channel
        Overrides:
        localAddress in class AbstractChannel
        Returns:
        the local address of this channel. null if this channel is not bound.
      • remoteAddress

        public RxtxDeviceAddress remoteAddress()
        Deprecated.
        Description copied from interface: Channel
        Returns the remote address where this channel is connected to. The returned SocketAddress is supposed to be down-cast into more concrete type such as InetSocketAddress to retrieve the detailed information.
        Specified by:
        remoteAddress in interface Channel
        Overrides:
        remoteAddress in class AbstractChannel
        Returns:
        the remote address of this channel. null if this channel is not connected. If this channel is not connected but it can receive messages from arbitrary remote addresses (e.g. DatagramChannel, use DefaultAddressedEnvelope.recipient() to determine the origination of the received message as this method will return null.
      • doBind

        protected void doBind​(java.net.SocketAddress localAddress)
                       throws java.lang.Exception
        Deprecated.
        Description copied from class: AbstractChannel
        Bind the Channel to the SocketAddress
        Specified by:
        doBind in class AbstractChannel
        Throws:
        java.lang.Exception
      • doDisconnect

        protected void doDisconnect()
                             throws java.lang.Exception
        Deprecated.
        Description copied from class: AbstractChannel
        Disconnect this Channel from its remote peer
        Specified by:
        doDisconnect in class AbstractChannel
        Throws:
        java.lang.Exception
      • isInputShutdown

        protected boolean isInputShutdown()
        Deprecated.
        Description copied from class: AbstractOioByteChannel
        Determine if the input side of this channel is shutdown.
        Specified by:
        isInputShutdown in class AbstractOioByteChannel
        Returns:
        true if the input side of this channel is shutdown.