You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
648 B
23 lines
648 B
2 years ago
|
/*************************************************
|
||
|
* @copyright 2017 Flision Corporation Inc.
|
||
|
* @author: Vincent Chan @ Canton
|
||
|
* @date: 2023年09月22日
|
||
|
* @version: 1.0.0
|
||
|
* @description:
|
||
|
**************************************************/
|
||
|
package com.dji.sdk.common;
|
||
|
|
||
|
import com.dji.sdk.mqtt.CommonTopicRequest;
|
||
|
import com.dji.sdk.mqtt.CommonTopicResponse;
|
||
|
|
||
|
public interface PublishBarrier {
|
||
|
|
||
|
void put(String identity, CommonTopicResponse receiveData);
|
||
|
|
||
|
void registerRequest(String identity, CommonTopicRequest requestData);
|
||
|
|
||
|
PublishBarrierResult await(String identity,long timeout);
|
||
|
|
||
|
boolean hasIdentity(String identity);
|
||
|
}
|