类 AbstractClient

    • 方法详细资料

      • getConnectAddress

        public  getConnectAddress()
      • getRemoteAddress

        public  getRemoteAddress()
        从接口复制的说明: Channel
        get remote address.
        指定者:
        getRemoteAddress 在接口中 Channel
        返回:
        remote address.
      • getLocalAddress

        public  getLocalAddress()
        从接口复制的说明: Endpoint
        get local address.
        指定者:
        getLocalAddress 在接口中 Endpoint
        返回:
        local address.
      • isConnected

        public boolean isConnected()
        从接口复制的说明: Channel
        is connected.
        指定者:
        isConnected 在接口中 Channel
        返回:
        connected
      • getAttribute

        public  getAttribute​( key)
        从接口复制的说明: Channel
        get attribute.
        指定者:
        getAttribute 在接口中 Channel
        参数:
        key - key.
        返回:
        value.
      • setAttribute

        public void setAttribute​( key,
                                  value)
        从接口复制的说明: Channel
        set attribute.
        指定者:
        setAttribute 在接口中 Channel
        参数:
        key - key.
        value - value.
      • removeAttribute

        public void removeAttribute​( key)
        从接口复制的说明: Channel
        remove attribute.
        指定者:
        removeAttribute 在接口中 Channel
        参数:
        key - key.
      • hasAttribute

        public boolean hasAttribute​( key)
        从接口复制的说明: Channel
        has attribute.
        指定者:
        hasAttribute 在接口中 Channel
        参数:
        key - key.
        返回:
        has or has not.
      • disconnect

        public void disconnect()
      • toString

        public  toString()
        覆盖:
         在类中