dimcurrentinfo.java

来自「这是一个分布式通信程序框架源程序」· Java 代码 · 共 48 行

JAVA
48
字号
package dim;

public class DimCurrentInfo extends DimInfo
{		
	public DimCurrentInfo(String theServiceName, String noLink)
	{
		super(theServiceName,noLink);
	}
	public DimCurrentInfo(String theServiceName, int noLink)
	{
		super(theServiceName,noLink);
	}
	public DimCurrentInfo(String theServiceName, float noLink)
	{
		super(theServiceName,noLink);
	}
	public DimCurrentInfo(String theServiceName, double noLink)
	{
		super(theServiceName,noLink);
	}
	public DimCurrentInfo(String theServiceName, int time, String noLink)
	{
		super(theServiceName,time,noLink);
	}
	public DimCurrentInfo(String theServiceName, int time, int noLink)
	{
		super(theServiceName,time,noLink);
	}
	public DimCurrentInfo(String theServiceName, int time, float noLink)
	{
		super(theServiceName,time,noLink);
	}
	public DimCurrentInfo(String theServiceName, int time, double noLink)
	{
		super(theServiceName,time,noLink);
	}
	
	void subscribe(String theServiceName, int time)
	{
		do_subscribe();
		service_id = Client.infoService(theServiceName, 
										this, 
										Client.ONCE_ONLY|Client.F_WAIT|Client.F_STAMPED,
										time);
	}
	
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?