コード例 #1
0
 /**
  * @return provides fileSprayClient for direct method execution
  * @throws Exception
  */
 public HPCCWsSQLClient getWsSQLClient(String wsSQLPort) {
   synchronized (connectionLock) {
     Connection tempConn =
         new Connection(connection.getProtocol(), connection.getHost(), wsSQLPort);
     tempConn.setCredentials(connection.getUserName(), connection.getPassword());
     return (HPCCWsSQLClient) SubClients.get(HPCCWsSQLClient.get(tempConn));
   }
 }
コード例 #2
0
 /**
  * @return provides fileSprayClient for direct method execution
  * @throws Exception
  */
 public HPCCWsSQLClient getWsSQLClient() {
   try {
     return getWsSQLClient(String.valueOf(HPCCWsSQLClient.getOriginalPort()));
   } catch (MalformedURLException e) {
     e.printStackTrace();
     return null;
   }
 }
コード例 #3
0
 /**
  * Reports the version of the original WSDL used to create the HPCCWsAttributesClient logic.
  *
  * @return Original WSDL version
  */
 public String getWsSQLClientVer() {
   return Utils.parseVersionFromWSDLURL(HPCCWsSQLClient.getOriginalWSDLURL());
 }