Aspera Developer Documentation

Environment Class Reference

List of all members.


Detailed Description

This class contains configuration options for the fasp Manager.

Static Public Member Functions

static const char * GetFasp2AscpPath ()
static const char * GetPortFilePath ()
static void SetFasp2AscpPath (const char *path)
static void SetManagementPort (u_int16_t port)
static u_int16_t GetManagementPort ()

Member Function Documentation

static const char* GetFasp2AscpPath (  )  [static]

Gets the path to the FASP2 ascp binary.

Returns:
the path to the FASP2 ascp binary. If path was not set, return the system-specific default.

static const char* GetPortFilePath (  )  [static]

Gets the path to the file containing the fasp management port.

Returns:
the path to the management port file

static void SetFasp2AscpPath ( const char *  path  )  [static]

Sets the path to the FASP2 ascp binary.

Parameters:
path path to the FASP2 ascp binary

static void SetManagementPort ( u_int16_t  port  )  [static]

Set the management port to be used by Fasp Manager. Fasp Manager will automatically pick an available port if you do not set one. If you do set this port make sure that the port number you specify is actually available. 0 indicates auto select a port.

Parameters:
port the port number

static u_int16_t GetManagementPort (  )  [static]

Get the management port used by Fasp Manager. 0 indicates an automatically selected port

Returns:
the port number


Copyright © 2005 - 2008 Aspera, Inc. | asperasoft.com