Beispiel #1
0
  /**
   * initialize ComDemo to aware the monitor of the existence of ComDemo
   *
   * @param conName name of the com
   * @param monitor monitor of fit4green
   */
  @Override
  public boolean init(String comName, IMonitor monitor) {

    comDemoStatus_ = "STOPPED";

    super.init(comName, monitor);
    return true;
  }
Beispiel #2
0
  /** dispose method performs a clean stop of CommunicatorDemo. */
  @Override
  public boolean dispose() {
    // free the connections with the data centre
    // and stop all the possible threads running
    // then stop the plug-in itself

    log.debug("ComDemo Stop");
    super.dispose();

    return true;
  }