Class CustomRegisterProcessorServer
java.lang.Object
io.github.lunasaw.gbproxy.server.transimit.request.register.CustomRegisterProcessorServer
- All Implemented Interfaces:
RegisterProcessorServer
- Author:
- luna
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deviceOffLine
(String userId, RegisterInfo registerInfo, SipTransaction sipTransaction) 更新事务信息 = 设备下线getTransaction
(String userId) 获取第一次注册的事务void
responseUnauthorized
(String userId) 回复401void
updateRegisterInfo
(String userId, RegisterInfo registerInfo) 更新设备注册信息void
updateSipTransaction
(String userId, SipTransaction sipTransaction) 更新事务信息 = 设备上线
-
Constructor Details
-
CustomRegisterProcessorServer
public CustomRegisterProcessorServer()
-
-
Method Details
-
responseUnauthorized
Description copied from interface:RegisterProcessorServer
回复401- Specified by:
responseUnauthorized
in interfaceRegisterProcessorServer
-
getTransaction
Description copied from interface:RegisterProcessorServer
获取第一次注册的事务- Specified by:
getTransaction
in interfaceRegisterProcessorServer
- Parameters:
userId
- 设备Id- Returns:
-
updateRegisterInfo
Description copied from interface:RegisterProcessorServer
更新设备注册信息- Specified by:
updateRegisterInfo
in interfaceRegisterProcessorServer
- Parameters:
userId
- 设备Id
-
updateSipTransaction
Description copied from interface:RegisterProcessorServer
更新事务信息 = 设备上线- Specified by:
updateSipTransaction
in interfaceRegisterProcessorServer
-
deviceOffLine
Description copied from interface:RegisterProcessorServer
更新事务信息 = 设备下线- Specified by:
deviceOffLine
in interfaceRegisterProcessorServer
-