/[svn]/jsampler/trunk/src/org/jsampler/task/LoadEngine.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/task/LoadEngine.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 910 by iliev, Thu Mar 16 18:08:34 2006 UTC revision 911 by iliev, Mon Aug 7 18:25:58 2006 UTC
# Line 31  import static org.jsampler.JSI18n.i18n; Line 31  import static org.jsampler.JSI18n.i18n;
31    
32    
33  /**  /**
34   *   * This task loads a sampler engine in a specific sampler channel.
35   * @author Grigor Iliev   * @author Grigor Iliev
36   */   */
37  public class LoadEngine extends EnhancedTask {  public class LoadEngine extends EnhancedTask {
38          private String engine;          private String engine;
39          private int channel;          private int channel;
40                    
41            /**
42             * Creates new instance of <code>LoadEngine</code>.
43             * @param engine The name of the engine to load.
44             * @param channel The number of the sampler channel
45             * the deployed engine should be assigned to.
46             */
47          public          public
48          LoadEngine(String engine, int channel) {          LoadEngine(String engine, int channel) {
49                  this.engine = engine;                  this.engine = engine;
# Line 49  public class LoadEngine extends Enhanced Line 55  public class LoadEngine extends Enhanced
55                  setDescription(i18n.getMessage("LoadEngine.description", objs));                  setDescription(i18n.getMessage("LoadEngine.description", objs));
56          }          }
57                    
58            /** The entry point of the task. */
59          public void          public void
60          run() {          run() {
61                  try { CC.getClient().loadSamplerEngine(engine, channel); }                  try { CC.getClient().loadSamplerEngine(engine, channel); }

Legend:
Removed from v.910  
changed lines
  Added in v.911

  ViewVC Help
Powered by ViewVC