Interface RegisterProcessorServer

All Known Implementing Classes:
CustomRegisterProcessorServer, DefaultRegisterProcessorServer

public interface RegisterProcessorServer
Author:
luna
  • Method Details

    • responseUnauthorized

      void responseUnauthorized(String userId)
      回复401
      Parameters:
      userId -
    • getTransaction

      SipTransaction getTransaction(String userId)
      获取第一次注册的事务
      Parameters:
      userId - 设备Id
      Returns:
    • updateRegisterInfo

      void updateRegisterInfo(String userId, RegisterInfo registerInfo)
      更新设备注册信息
      Parameters:
      userId - 设备Id
      registerInfo -
    • updateSipTransaction

      void updateSipTransaction(String userId, SipTransaction sipTransaction)
      更新事务信息 = 设备上线
      Parameters:
      userId -
      sipTransaction -
    • deviceOffLine

      void deviceOffLine(String userId, RegisterInfo registerInfo, SipTransaction sipTransaction)
      更新事务信息 = 设备下线
      Parameters:
      userId -
      sipTransaction -