Ejemplo n.º 1
0
 /**
  * @return provides fileSprayClient for direct method execution
  * @throws Exception
  */
 public HPCCWsAttributesClient getWsAttributesClient(String wsAttributesPort) {
   synchronized (connectionLock) {
     Connection tempConn =
         new Connection(connection.getProtocol(), connection.getHost(), wsAttributesPort);
     tempConn.setCredentials(connection.getUserName(), connection.getPassword());
     return (HPCCWsAttributesClient) SubClients.get(HPCCWsAttributesClient.get(tempConn));
   }
 }
Ejemplo n.º 2
0
 /** @param baseConnection */
 protected HPCCECLDirectClient(Connection baseConnection) {
   this(
       baseConnection.getProtocol(),
       baseConnection.getHost(),
       baseConnection.getPort(),
       baseConnection.getUserName(),
       baseConnection.getPassword());
 }
Ejemplo n.º 3
0
 public String getProtocol() {
   return connection.getProtocol();
 }