Package smilehouse.opensyncro.pipes.metadata

Examples of smilehouse.opensyncro.pipes.metadata.TransferInfo


        //Try to get pipe id from the request.
        Long pipeId=new Long(parameters.getLong(PIPE_ID));
        if(pipeId!=0){
          //If the start button of one of the pipes was pressed, execute the pipe
          Pipe startedPipe=pers.loadPipe(pipeId);
          startedPipe.transfer(new TransferInfo(pers.getDatabaseName(),(String)session.getAttribute("syncro.user")));
          pers.update(startedPipe);
        }
        if(requestType == POST_REQUEST) {
            if(parameters.getInt(ACTION) == 1) {
View Full Code Here


                        break;
                    }
                }

                if(parameters.getInt(ACTION) == ACTION_START) {
                    pipe.transfer(new TransferInfo(pers.getDatabaseName(),
                        (String)session.getAttribute(StandaloneEnvironment.SESSION_USER_ATTR)));
                }

                pers.update(pipe);
            }
View Full Code Here

   * @param persister Persiter to be used by the thread
   */
  public PipeExecutionThread(Map pt,long pipeid,Persister persister) {
    this.pers= persister;
    this.peq = new PipeExecutionQueue(pers,pipeid);
    this.ti = new TransferInfo(persister.getDatabaseName(),REMOTE_EXECUTER);
    this.pipesThreads=pt;
  }
View Full Code Here

TOP

Related Classes of smilehouse.opensyncro.pipes.metadata.TransferInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.