Interface MessageRequestHandler
- All Known Implementing Classes:
CustomMessageRequestHandler
,TestClientMessageProcessorHandler
public interface MessageRequestHandler
MESSAGE请求业务处理器接口
负责处理MESSAGE请求的业务逻辑,包括查询、控制、通知等
- Author:
- luna
-
Method Summary
Modifier and TypeMethodDescriptionvoid
broadcastNotify
(DeviceBroadcastNotify broadcastNotify) 处理语音广播通知<T> void
deviceControl
(T deviceControlBase) 处理设备控制命令getConfigDownloadResponse
(String userId, String configType) 获取设备配置查询应答getDeviceAlarmNotify
(DeviceAlarmQuery deviceAlarmQuery) 获取设备告警通知getDeviceConfigResponse
(DeviceConfigDownload deviceConfigDownload) 获取设备配置响应getDeviceInfo
(String userId) 获取设备信息 DeviceInfogetDeviceItem
(String userId) 获取设备通道信息getDevicePresetQueryResponse
(PresetQuery presetQuery) 获取设备预置位查询应答getDeviceRecord
(DeviceRecordQuery deviceRecordQuery) 获取设备录像信息 DeviceRecordgetDeviceStatus
(String userId) 获取设备状态信息 DeviceStatusgetMobilePositionNotify
(MobilePositionQuery mobilePositionQuery) 处理设备移动位置通知getPresetQueryResponse
(String userId) 获取设备预置位信息
-
Method Details
-
getDeviceRecord
获取设备录像信息 DeviceRecord- Parameters:
deviceRecordQuery
- 设备录像查询- Returns:
- DeviceRecord 设备录像信息
-
getDeviceStatus
获取设备状态信息 DeviceStatus- Parameters:
userId
- 设备Id- Returns:
- DeviceStatus 设备状态信息
-
getDeviceInfo
获取设备信息 DeviceInfo- Parameters:
userId
- 设备Id- Returns:
- DeviceInfo 设备信息
-
getDeviceItem
获取设备通道信息- Parameters:
userId
- 设备Id- Returns:
- DeviceResponse 设备通道信息
-
broadcastNotify
处理语音广播通知- Parameters:
broadcastNotify
- 广播通知
-
getDeviceAlarmNotify
获取设备告警通知- Parameters:
deviceAlarmQuery
- 告警查询- Returns:
- DeviceAlarmNotify 告警通知
-
getDeviceConfigResponse
获取设备配置响应- Parameters:
deviceConfigDownload
- 配置下载查询- Returns:
- DeviceConfigResponse 配置响应
-
deviceControl
<T> void deviceControl(T deviceControlBase) 处理设备控制命令- Parameters:
deviceControlBase
- 设备控制基础信息
-
getDevicePresetQueryResponse
获取设备预置位查询应答- Returns:
- 预置位查询应答
-
getPresetQueryResponse
获取设备预置位信息- Parameters:
userId
- 设备Id- Returns:
- 设备预置位应答
-
getConfigDownloadResponse
获取设备配置查询应答- Parameters:
userId
- 设备IdconfigType
- 配置类型- Returns:
- 设备配置查询应答
-
getMobilePositionNotify
处理设备移动位置通知- Parameters:
mobilePositionNotify
- 移动位置通知
-