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