- parseResult(); // tidy up and make results available to user
- } else {
- Cache.log.debug("WebServiceJob poll loop finished with no jobs created.");
+ this(alignFrame, wsinfo, input, wsUrl);
+ WebServiceName = webServiceName;
+ }
+
+ /**
+ *
+ * @param alframe - reference for copying mappings across
+ * @param wsinfo2 - gui attachment point
+ * @param alview - input data for the calculation
+ * @param wsurl2 - url of the service being invoked
+ */
+ public WSThread(AlignFrame alframe, WebserviceInfo wsinfo2,
+ AlignmentView alview, String wsurl2)
+ {
+ super();
+ this.alignFrame = alframe;
+ this.wsInfo = wsinfo2;
+ this.input = alview;
+ WsUrl = wsurl2;
+ if (alignFrame!=null)
+ {
+ AlignedCodonFrame[] cf = alignFrame.getViewport().getAlignment().getCodonFrames();
+ codonframe = new AlignedCodonFrame[cf.length];
+ System.arraycopy(cf, 0, codonframe, 0, cf.length);
+ }