public static DoradusClient open(String host, int port, Credentials credentials, String applicationName) {  
        DoradusClient doradusClient = new DoradusClient(host, port, null, credentials, applicationName);    
        doradusClient.setCredentials(credentials);
        String storageService = lookupStorageServiceByApp(doradusClient.getRestClient(), applicationName);
        doradusClient.setStorageService(storageService);
        return doradusClient;
    }
public static DoradusClient open ( String host , int port , Credentials credentials , String applicationName ) { DoradusClient doradusClient = new DoradusClient ( host , port , null , credentials , applicationName ) ; doradusClient . setCredentials ( credentials ) ; String storageService = lookupStorageServiceByApp ( doradusClient . getRestClient ( ) , applicationName ) ; doradusClient . setStorageService ( storageService ) ; return doradusClient ; }
Static factory method to open a 'dory' client session
@param host Doradus Server host name or IP address.
@param port Doradus Server port number.
@param applicationName
@return the instance of the DoradusClient session