wjc
2025-04-01 31e89a8697d049410c9d8d5c333cba33223bc9dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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);
}