27 |
import org.jsampler.CC; |
import org.jsampler.CC; |
28 |
import org.jsampler.HF; |
import org.jsampler.HF; |
29 |
|
|
|
import net.sf.juife.AbstractTask; |
|
|
|
|
30 |
import static org.jsampler.JSI18n.i18n; |
import static org.jsampler.JSI18n.i18n; |
31 |
|
|
32 |
|
|
34 |
* |
* |
35 |
* @author Grigor Iliev |
* @author Grigor Iliev |
36 |
*/ |
*/ |
37 |
public class RemoveChannel extends AbstractTask { |
public class RemoveChannel extends EnhancedTask { |
38 |
private int channel; |
private int channel; |
39 |
|
|
40 |
public |
public |
46 |
} |
} |
47 |
|
|
48 |
public void |
public void |
|
stop() { CC.cleanExit(); } |
|
|
|
|
|
public void |
|
49 |
run() { |
run() { |
50 |
try { CC.getClient().removeSamplerChannel(channel); } |
try { CC.getClient().removeSamplerChannel(channel); } |
51 |
catch(Exception x) { |
catch(Exception x) { |