Examples of MisoPerlDaemonInterrogationMechanism


Examples of uk.ac.bbsrc.tgac.miso.core.service.integration.mechanism.interrogator.MisoPerlDaemonInterrogationMechanism

  public Status getRunStatus(SequencerReference sr, String runName) throws InterrogationException {
    MisoPerlDaemonQuery runStatusQuery = new MisoPerlDaemonQuery("454", runName, "status");

    try {
      JSONObject response = JSONObject.fromObject(doQuery(sr, new MisoPerlDaemonInterrogationMechanism(), runStatusQuery).parseResult());
      if (response != null && response.has("response")) {
        JSONArray a = response.getJSONArray("response");
        if (a.iterator().hasNext()) {
          JSONObject j = (JSONObject) a.iterator().next();
          if (j.has("file") && j.has("xml")) {
View Full Code Here

Examples of uk.ac.bbsrc.tgac.miso.core.service.integration.mechanism.interrogator.MisoPerlDaemonInterrogationMechanism

  public JSONObject getRunInformation(SequencerReference sr, String runName) throws InterrogationException {
    MisoPerlDaemonQuery runInfoQuery = new MisoPerlDaemonQuery("454", runName, "status");

    JSONObject json = new JSONObject();
    try {
      JSONObject response = JSONObject.fromObject(doQuery(sr, new MisoPerlDaemonInterrogationMechanism(), runInfoQuery).parseResult());
      if (response != null && response.has("response")) {
        JSONArray a = response.getJSONArray("response");
        if (a.iterator().hasNext()) {
          JSONObject j = (JSONObject) a.iterator().next();
          if (j.has("file") && j.has("xml")) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.