All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spera.cos-aspera-win-v140_xp-64.0.1.162892.source-code.faspmanager2 Maven / Gradle / Ivy

There is a newer version: 0.1.163682
Show newest version
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 3.0.12
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package com.ibm.aspera.faspmanager2;

public class faspmanager2 {
  
/**
 * Initiates transfer.
 * @param xferId The transfer GUID
 * @param configuration JSON string with additional configuration parameters
 * @param transferSpec JSON string with transfer parameters
 * @param pyCallbackObj ITransferListener implementation
 * @return Error Code
 * @see ITransferListener
 */
public static long startTransfer(String xferId, String configuration, String transferSpec, ITransferListener pyCallbackObj) {
    return faspmanager2JNI.startTransfer(xferId, configuration, transferSpec, ITransferListener.getCPtr(pyCallbackObj), pyCallbackObj);
  }

  
/**
 * Checks if transfer is in progress
 * @param xferId The transfer GUID
 * @return Status of the transfer
 */
public static boolean isRunning(String xferId) {
    return faspmanager2JNI.isRunning(xferId);
  }

  public static boolean stopTransfer(String xferId) {
    return faspmanager2JNI.stopTransfer(xferId);
  }

  public static boolean modifyTransfer(String xferId, int option, long value) {
    return faspmanager2JNI.modifyTransfer(xferId, option, value);
  }

  public static boolean configureLogLocation(String logPath) {
    return faspmanager2JNI.configureLogLocation(logPath);
  }

  public static boolean configureAscpPath(String ascpPath) {
    return faspmanager2JNI.configureAscpPath(ascpPath);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy