📄 util.java
字号:
package com.aceway.vas.commons.tcp;
import com.aceway.vas.commons.tcp.impl.TcpClientImpl;
//import com.aceway.vas.commons.tcp.impl.TcpServerImpl;
public class Util {
private static TcpClient tcpClient;
// public static TcpServer getServer(){
// return new TcpServerImpl();
// }
public synchronized static TcpClient getClient(){
if (tcpClient == null) {
tcpClient = new TcpClientImpl();
}
return tcpClient;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -