Classes

The following classes are available globally.

  • Abstract session class from which ASFaspSession and ASPersistentFaspSession are derived. In practice use one of those classes

    See more

    Declaration

    Objective-C

    @interface ASAbstractFaspSession

    Swift

    class ASAbstractFaspSession
  • Provides easy access to the private key used for transfers against servers configured with the default key used by Aspera Connect

    See more

    Declaration

    Objective-C

    @interface ASConnectPrivateKey

    Swift

    class ASConnectPrivateKey
  • Decrypt files or directories encrypted by fasp via the EAR (encryption at rest) feature

    See more

    Declaration

    Objective-C

    @interface ASEarUtils : NSObject

    Swift

    class ASEarUtils : NSObject
  • A FASP session for transferring a predetermined set of files.

    This class represents a regular FASP session (as opposed to ASPersistentFaspSession). ASFaspSession instances must be instantiated with the list of sources that will be transferred during the session.

    See more

    Declaration

    Objective-C

    @interface ASFaspSession : ASAbstractFaspSession

    Swift

    class ASFaspSession : ASAbstractFaspSession
  • Encapsulates many of the parameters needed to create a transfer session

    See more

    Declaration

    Objective-C

    @interface ASFaspSessionParameters

    Swift

    class ASFaspSessionParameters
  • contains statistics for a FASP session

    See more

    Declaration

    Objective-C

    @interface ASFaspSessionStats

    Swift

    class ASFaspSessionStats
  • A class for testing session credentials and connectivity parameters

    This class can be used to test if a given ASFaspSessionParameters instance contains correct connectivity and credential parameters. When the test method of the class is called it will connect to the host specified in the parameters and attempt SSH authentication (either via password or private key depending on the parameters).

    See more

    Declaration

    Objective-C

    @interface ASParametersConnectionTest : NSObject

    Swift

    class ASParametersConnectionTest
  • A FASP session that allows adding files to the session while the transfer is running.

    This class represents a persistent FASP session (as opposed to ASFaspSession). ASPersistentFaspSession instances are instantiated using only a FaspSessionParameters instance, and the paths are added to the session once the connection has been established. Persistent sessions keep their connection to the remote server until they are forced to close using -[ASAbstractFaspSession stop]

    See more

    Declaration

    Objective-C

    @interface ASPersistentFaspSession : ASAbstractFaspSession

    Swift

    class ASPersistentFaspSession : ASAbstractFaspSession