agave-systems/systems-core/src/main/java/org/iplantc/service/transfer/sftp/MaverickSFTP.java
/**
     * Capture all the SSH/SFTP connection information. This information can be used by
     * the recovery framework to reissue the connection call.
     *
     * @return map of connection info needed for recovery.
     */
Capture all the SSH/SFTP connection information. This information can be used by
the recovery framework to reissue the connection call.

@return map of connection info needed for recovery.
Capture all the SSH / SFTP connection information . This information can be used by the recovery framework to reissue the connection call . @return map of connection info needed for recovery .
public static TreeMap<String, String> captureConnectionState(String username, String host, int port,
                                                                 String proxyHost, int proxyPort) {
        TreeMap<String, String> state = new TreeMap<>();
        state.put("loginProtocolType", LoginProtocolType.SSH.name());
        state.put("host", host);
        state.put("port", Integer.toString(port));
        state.put("proxyHost", proxyHost);
        state.put("proxyPort", Integer.toString(proxyPort));
        state.put("username", username);
        return state;
    }
public static TreeMap < String , String > captureConnectionState ( String username , String host , int port , String proxyHost , int proxyPort ) { TreeMap < String , String > state = new TreeMap < > ( ) ; state . put ( "loginProtocolType" , LoginProtocolType . SSH . name ( ) ) ; state . put ( "host" , host ) ; state . put ( "port" , Integer . toString ( port ) ) ; state . put ( "proxyHost" , proxyHost ) ; state . put ( "proxyPort" , Integer . toString ( proxyPort ) ) ; state . put ( "username" , username ) ; return state ; }
Capture all the SSH/SFTP connection information.
Capture all the SSH / SFTP connection information .