Interface MessageRequestHandler

All Known Implementing Classes:
CustomMessageRequestHandler, TestClientMessageProcessorHandler

public interface MessageRequestHandler
MESSAGE请求业务处理器接口 负责处理MESSAGE请求的业务逻辑,包括查询、控制、通知等
Author:
luna
  • Method Details

    • getDeviceRecord

      DeviceRecord getDeviceRecord(DeviceRecordQuery deviceRecordQuery)
      获取设备录像信息 DeviceRecord
      Parameters:
      deviceRecordQuery - 设备录像查询
      Returns:
      DeviceRecord 设备录像信息
    • getDeviceStatus

      DeviceStatus getDeviceStatus(String userId)
      获取设备状态信息 DeviceStatus
      Parameters:
      userId - 设备Id
      Returns:
      DeviceStatus 设备状态信息
    • getDeviceInfo

      DeviceInfo getDeviceInfo(String userId)
      获取设备信息 DeviceInfo
      Parameters:
      userId - 设备Id
      Returns:
      DeviceInfo 设备信息
    • getDeviceItem

      DeviceResponse getDeviceItem(String userId)
      获取设备通道信息
      Parameters:
      userId - 设备Id
      Returns:
      DeviceResponse 设备通道信息
    • broadcastNotify

      void broadcastNotify(DeviceBroadcastNotify broadcastNotify)
      处理语音广播通知
      Parameters:
      broadcastNotify - 广播通知
    • getDeviceAlarmNotify

      DeviceAlarmNotify getDeviceAlarmNotify(DeviceAlarmQuery deviceAlarmQuery)
      获取设备告警通知
      Parameters:
      deviceAlarmQuery - 告警查询
      Returns:
      DeviceAlarmNotify 告警通知
    • getDeviceConfigResponse

      DeviceConfigResponse getDeviceConfigResponse(DeviceConfigDownload deviceConfigDownload)
      获取设备配置响应
      Parameters:
      deviceConfigDownload - 配置下载查询
      Returns:
      DeviceConfigResponse 配置响应
    • deviceControl

      <T> void deviceControl(T deviceControlBase)
      处理设备控制命令
      Parameters:
      deviceControlBase - 设备控制基础信息
    • getDevicePresetQueryResponse

      PresetQueryResponse getDevicePresetQueryResponse(PresetQuery presetQuery)
      获取设备预置位查询应答
      Returns:
      预置位查询应答
    • getPresetQueryResponse

      PresetQueryResponse getPresetQueryResponse(String userId)
      获取设备预置位信息
      Parameters:
      userId - 设备Id
      Returns:
      设备预置位应答
    • getConfigDownloadResponse

      ConfigDownloadResponse getConfigDownloadResponse(String userId, String configType)
      获取设备配置查询应答
      Parameters:
      userId - 设备Id
      configType - 配置类型
      Returns:
      设备配置查询应答
    • getMobilePositionNotify

      MobilePositionNotify getMobilePositionNotify(MobilePositionQuery mobilePositionQuery)
      处理设备移动位置通知
      Parameters:
      mobilePositionNotify - 移动位置通知