接口 Channel

    • 方法详细资料

      • getRemoteAddress

         getRemoteAddress()
        get remote address.
        返回:
        remote address.
      • isConnected

        boolean isConnected()
        is connected.
        返回:
        connected
      • hasAttribute

        boolean hasAttribute​( key)
        has attribute.
        参数:
        key - key.
        返回:
        has or has not.
      • getAttribute

         getAttribute​( key)
        get attribute.
        参数:
        key - key.
        返回:
        value.
      • setAttribute

        void setAttribute​( key,
                           value)
        set attribute.
        参数:
        key - key.
        value - value.
      • removeAttribute

        void removeAttribute​( key)
        remove attribute.
        参数:
        key - key.