Examples of StatusResponse


Examples of org.hxzon.asn1.mms.sequence.StatusResponse

//--  additionalService        [78]  AdditionalService-Response
//  }
    public BerNode create(int tag, BerInputStream stream) {
        switch (tag) {
        case Tag.CONTEXT | 0:
            return new StatusResponse().init("status", "status", tag, stream);
        case Tag.CONTEXT | 1:
            return new GetNameListResponse().init("getNameList", "getNameList", tag, stream);
        case Tag.CONTEXT | 2:
            return new IdentifyResponse().init("identify", "identify", tag, stream);
        case Tag.CONTEXT | 3:

Examples of org.openhab.binding.plcbus.internal.protocol.StatusResponse

    }

    IPLCBusController controller = PLCBusController.create(serialPortGateway);

    if (newState == UnDefType.UNDEF) {
      StatusResponse response = controller.requestStatusFor(config.getUnit());

      State status = (response.isUnitOn()) ? OnOffType.ON : OnOffType.OFF;
      this.eventPublisher.postUpdate(itemName, status);
    }
  }

Examples of org.sonatype.nexus.componentviews.responses.StatusResponse

          if (created != null) {
            return Responses.created();
          }
          else {
            return new StatusResponse(409,
                "Conflict: binary already exists. To replace it, DELETE it first.");
          }
        }
        catch (IOException e) {
          Throwables.propagate(e);

Examples of pl.smsapi.api.response.StatusResponse

    System.out.println("SmsGet:");
    ids = readIds();

    if (ids != null) {
      StatusResponse result;
      BaseAction action = smsApi.actionGet().ids(ids);

      result = (StatusResponse) executeAction(action);

      for (MessageResponse item : result.getList()) {
        renderMessageItem(item);
      }
    }
  }
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.