| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- package com.genersoft.iot.vmp.service;
- import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform;
- import com.genersoft.iot.vmp.gb28181.bean.SipTransactionInfo;
- import com.github.pagehelper.PageInfo;
- /**
- * 国标平台的业务类
- * @author lin
- */
- public interface IPlatformService {
- ParentPlatform queryPlatformByServerGBId(String platformGbId);
- /**
- * 分页获取上级平台
- * @param page
- * @param count
- * @return
- */
- PageInfo<ParentPlatform> queryParentPlatformList(int page, int count);
- /**
- * 添加级联平台
- * @param parentPlatform 级联平台
- */
- boolean add(ParentPlatform parentPlatform);
- /**
- * 添加级联平台
- * @param parentPlatform 级联平台
- */
- boolean update(ParentPlatform parentPlatform);
- /**
- * 平台上线
- * @param parentPlatform 平台信息
- */
- void online(ParentPlatform parentPlatform, SipTransactionInfo sipTransactionInfo);
- /**
- * 平台离线
- * @param parentPlatform 平台信息
- */
- void offline(ParentPlatform parentPlatform, boolean stopRegisterTask);
- /**
- * 向上级平台发起注册
- * @param parentPlatform
- */
- void login(ParentPlatform parentPlatform);
- /**
- * 向上级平台发送位置订阅
- * @param platformId 平台
- */
- void sendNotifyMobilePosition(String platformId);
- }
|