⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 util.java

📁 同步接收web services请求
💻 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 + -