예제 #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));
   }
 }
예제 #2
0
 /** @param baseConnection */
 protected HPCCECLDirectClient(Connection baseConnection) {
   this(
       baseConnection.getProtocol(),
       baseConnection.getHost(),
       baseConnection.getPort(),
       baseConnection.getUserName(),
       baseConnection.getPassword());
 }
예제 #3
0
 public String getProtocol() {
   return connection.getProtocol();
 }