| | |
| | | import com.genersoft.iot.vmp.gb28181.event.SipSubscribe; |
| | | |
| | | import javax.sip.header.WWWAuthenticateHeader; |
| | | import java.nio.channels.Channel; |
| | | import java.util.List; |
| | | |
| | | public interface ISIPCommanderForPlatform { |
| | | |
| | |
| | | * @param parentPlatform |
| | | * @return |
| | | */ |
| | | boolean register(ParentPlatform parentPlatform); |
| | | boolean register(ParentPlatform parentPlatform, SipSubscribe.Event errorEvent , SipSubscribe.Event okEvent); |
| | | boolean register(ParentPlatform parentPlatform, String callId, WWWAuthenticateHeader www, SipSubscribe.Event errorEvent , SipSubscribe.Event okEvent); |
| | | |
| | | /** |
| | |
| | | * @return |
| | | */ |
| | | boolean catalogQuery(DeviceChannel channel, ParentPlatform parentPlatform, String sn, String fromTag, int size); |
| | | |
| | | /** |
| | | * 向上级回复DeviceInfo查询信息 |
| | | * @param parentPlatform 平台信息 |
| | | * @param sn |
| | | * @param fromTag |
| | | * @return |
| | | */ |
| | | boolean deviceInfoResponse(ParentPlatform parentPlatform, String sn, String fromTag); |
| | | |
| | | /** |
| | | * 向上级回复DeviceStatus查询信息 |
| | | * @param parentPlatform 平台信息 |
| | | * @param sn |
| | | * @param fromTag |
| | | * @return |
| | | */ |
| | | boolean deviceStatusResponse(ParentPlatform parentPlatform, String sn, String fromTag); |
| | | |
| | | } |