程序包 com.walker.tcp

接口 Authenticate

所有已知实现类:
DefaultAuthentication, DefaultAuthentication

@Deprecated public interface Authenticate
已过时。
通道认证标准规范,只有通过认证的连接才被允许。

接口废弃,由ProtocolResolver对象统一处理认证。
作者:
时克英
  • 方法概要

    修饰符和类型
    方法
    说明
    authenticate(Request<?> request)
    已过时。
    连接建立后,发送认证信息,服务端调用改方法验证。
  • 方法详细资料

    • authenticate

      String authenticate(Request<?> request) throws AuthenticateException
      已过时。
      连接建立后,发送认证信息,服务端调用改方法验证。
      参数:
      request -
      返回:
      返回验证后的,客户端唯一ID,如:设备编号等
      抛出:
      AuthenticateException