Package ve.net.dcs.sc.component

Examples of ve.net.dcs.sc.component.Client.sendRequest()


    client.setTimeout(record.getSecondsTimeout() * 1000);
    client.setWebService(record.isWebService());
    Request request = new Request();
    request.setType(RequestType.TEST);
    request.setDate(HelperDate.now());
    Response response = client.sendRequest(request);
    return response.getStatusNotice() + ", Server time: " + HelperDate.format(response.getDate(), "H:mm:ss yyyy-MM-dd");
  }

}
View Full Code Here


    client.setWebService(recordScale.getSC_ServerSettings().isWebService());
    Request request = new Request();
    request.setType(RequestType.READ_PORT);
    request.setDate(HelperDate.now());
    request.setParameters(parameters);
    response = client.sendRequest(request);
    return response;
  }
 
  public ResponseStatus getResposeStatus(){
    return response.getStatus();
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.