00001
00007 #ifndef __ENVIRONMENT_H__
00008 #define __ENVIRONMENT_H__
00009
00010 namespace Aspera{
00011 namespace FaspManager{
00012
00014 class Environment {
00015 private:
00016 static char const* m_fasp2_ascp_path_discovered;
00017 static char const* m_fasp2_ascp_path_provided;
00018 static char const* m_port_file_path;
00019 static u_int16_t m_requested_server_port;
00020
00021 static void logSettings();
00022 ~Environment();
00023
00024 public:
00025
00030 static const char* GetFasp2AscpPath();
00031
00035 static const char* GetPortFilePath();
00036
00040 static void SetFasp2AscpPath(const char* path);
00041
00047 static void SetManagementPort(u_int16_t port);
00048
00052 static u_int16_t GetManagementPort();
00053 };
00054
00055 }
00056 }
00057 #endif