jiazx0107@163.com
2023-09-20 3d4d8e97543d6e5b4b2a84855e3cd08df1e6aaf4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.ld.igds.protocol.iot.height.server;
 
 
/**
 * 工具类
 *
 * @author vince
 */
public class ServerUtils {
 
 
    /**
     * 生成TCP连接的KEY
     *
     * @param ip
     * @param port
     * @return
     */
    public static String getServerKey(String ip, Integer port) {
        return ip + ":" + port;
    }
 
 
}