所有超级接口:
AutoCloseable
所有已知实现类:
NettyConnection

public interface Connection extends AutoCloseable
从以下版本开始:
1.4.0
作者:
xuyue, Eric Zhao
  • 方法详细资料

    • getLocalAddress

      SocketAddress getLocalAddress()
    • getRemotePort

      int getRemotePort()
    • getRemoteIP

      String getRemoteIP()
    • refreshLastReadTime

      void refreshLastReadTime(long lastReadTime)
    • getLastReadTime

      long getLastReadTime()
    • getConnectionKey

      String getConnectionKey()