panlinlin
2021-01-06 627a14f37e49d5e33cc5f593277ee24f913875b8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.genersoft.iot.vmp.gb28181.transmit.cmd;
 
import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform;
 
public interface ISIPCommanderForPlatform {
 
    /**
     * 向上级平台注册
     * @param parentPlatform
     * @return
     */
    boolean register(ParentPlatform parentPlatform);
 
    boolean register(ParentPlatform parentPlatform, String callId, String realm, String nonce, String scheme);
 
    /**
     * 向上级平发送心跳信息
     * @param parentPlatform
     * @return callId(作为接受回复的判定)
     */
    String keepalive(ParentPlatform parentPlatform);
}