package com.ld.igds.protocol.util; /** * 工具类 * * @author Andy */ public class ServerUtils { /** * 生成TCP连接的KEY * * @param ip * @param port * * @return */ public static String getServerKey(String ip, Integer port) { return ip + ":" + port; } }