controller.java

来自「本程序在Unix_Linux环境下用Java语言编写的文件下载程序」· Java 代码 · 共 26 行

JAVA
26
字号
package loader.controller;

import loader.loader.*;
/**

*/
public interface Controller {
	public final static int STOP = 0;
	public final static int CONTINUE = 1;
	
	/**
		this method will be called by loader to be registered himself.
	*/
	public void register( Loader loader );

	/**
		set init state of the threads controlled by this controller.
	*/
	public void init( int control_flag );
	/**
		control the threads behaviors.
	*/
	public void control( int control_flag );
        
        public void waitDie();
}

⌨️ 快捷键说明

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