public void checkMultiSessionAllGlobalConfig ( TransferSpecs transferSpecs ) { if ( asperaTransferManagerConfig . isMultiSession ( ) ) { for ( TransferSpec transferSpec : transferSpecs . transfer_specs ) { //If multisession defined as global use 'all' suffix, else check if a number has been specified transferSpec . setRemote_host ( updateRemoteHost ( transferSpec . getRemote_host ( ) ) ) ; } } }
Modify the retrieved TransferSpec and apply an - all suffix to the subdomain on the remote ) host field