优化代码:接口中的方法不需要指定访问类型。

pull/267/head
zp-wmhx 2025-06-10 13:39:08 +08:00
parent c0298e8345
commit e67666ca6b
1 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ public interface DevSseApi {
* @author diantu * @author diantu
* @date 2023/7/5 * @date 2023/7/5
**/ **/
public SseEmitter createSseConnect(String clientId, Boolean setHeartBeat, Boolean defaultHeartbeat, Consumer<CommonSseParam> consumer); SseEmitter createSseConnect(String clientId, Boolean setHeartBeat, Boolean defaultHeartbeat, Consumer<CommonSseParam> consumer);
/** /**
* *
@ -45,7 +45,7 @@ public interface DevSseApi {
* @author diantu * @author diantu
* @date 2023/7/5 * @date 2023/7/5
**/ **/
public void closeSseConnect(String clientId); void closeSseConnect(String clientId);
/** /**
* *
@ -54,7 +54,7 @@ public interface DevSseApi {
* @author diantu * @author diantu
* @date 2023/7/5 * @date 2023/7/5
**/ **/
public void sendMessageToAllClient(String msg); void sendMessageToAllClient(String msg);
/** /**
* clientId * clientId
@ -64,6 +64,6 @@ public interface DevSseApi {
* @author diantu * @author diantu
* @date 2023/7/5 * @date 2023/7/5
**/ **/
public void sendMessageToOneClient(String clientId, String msg); void sendMessageToOneClient(String clientId, String msg);
} }