| | |
| | | void publish(String topic, int qos, CommonTopicResponse response); |
| | | |
| | | /** |
| | | * Send live streaming start message and receive a response at the same time |
| | | * Send live streaming start message and receive a response at the same time. |
| | | * @param topic |
| | | * @param response notification of whether the start is successful. |
| | | * @return |
| | | */ |
| | | Optional<ServiceReply> publishWithReply(String topic, CommonTopicResponse response); |
| | | |
| | | /** |
| | | * Send live streaming start message and receive a response at the same time. |
| | | * @param clazz |
| | | * @param topic |
| | | * @param response |
| | | * @param retryTime |
| | | * @param <T> |
| | | * @return |
| | | */ |
| | | <T> Optional<T> publishWithReply(Class<T> clazz, String topic, CommonTopicResponse response, int retryTime); |
| | | } |