From 14de918a79943e4961b09fa01ed320c6cad41f2e Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期三, 28 六月 2023 17:14:51 +0800 Subject: [PATCH] Revert "Revert "Merge branch 'hxb' into wjc"" --- HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/socket/client/IClient.java | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/socket/client/IClient.java b/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/socket/client/IClient.java new file mode 100644 index 0000000..71293d7 --- /dev/null +++ b/HDLLinkLocalSdk/src/main/java/com/hdl/sdk/link/socket/client/IClient.java @@ -0,0 +1,32 @@ +package com.hdl.sdk.link.socket.client; + + +import com.hdl.sdk.link.socket.SocketOptions; + +/** + * Created by Tong on 2021/9/22. + */ +public interface IClient { + + void connect() throws Exception; + + void disconnect(); + + + SocketOptions getOptions(); + + /** + * 鐩戝惉鏁版嵁 + */ + void onHandleResponse() throws Exception; + + /** + * 鍙戦�佹秷鎭� + */ + void sendMsg(byte[] msg) throws Exception; + + /** + * 杩炴帴鐘舵�� + */ + void onConnectStatus(int status); +} -- Gitblit v1.8.0