如何通过Socket实现进程间异步通讯
1个回答
展开全部
讯的另一方则是与socket的服务端邦定
*
*/
public class Test3 extends CommThread implements DealWith
{
private static Test3 test3 = new Test3(2000);
private SignalSocketThread ssThread = new SignalSocketThread();
public Test3(int sleepTime)
{
super(sleepTime);
this.setName("Test3Thread");
}
/**
* Test3必须继承CommThread
* 覆写dispose()
*
*/
public class Test3 extends CommThread implements DealWith
{
private static Test3 test3 = new Test3(2000);
private SignalSocketThread ssThread = new SignalSocketThread();
public Test3(int sleepTime)
{
super(sleepTime);
this.setName("Test3Thread");
}
/**
* Test3必须继承CommThread
* 覆写dispose()
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询