Class NettyTcpChannel

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, Releasable, TcpChannel

    public class NettyTcpChannel
    extends java.lang.Object
    implements TcpChannel
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface Releasable
        Specified by:
        close in interface TcpChannel
      • setSoLinger

        public void setSoLinger​(int value)
        Specified by:
        setSoLinger in interface TcpChannel
      • isOpen

        public boolean isOpen()
        Specified by:
        isOpen in interface TcpChannel
      • getLocalAddress

        public java.net.InetSocketAddress getLocalAddress()
        Specified by:
        getLocalAddress in interface TcpChannel
      • getLowLevelChannel

        public io.netty.channel.Channel getLowLevelChannel()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object