Aspera Developer Documentation
Static Public Member Functions | List of all members
Environment Class Reference

This class contains configuration options for the fasp Manager. More...

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 ()
 

Detailed Description

This class contains configuration options for the fasp Manager.

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 u_int16_t GetManagementPort ( )
static

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

Returns
the port number
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
pathpath 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
portthe port number

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