Aspera Developer Documentation
Environment.h
Go to the documentation of this file.
1 
7 #ifndef __ENVIRONMENT_H__
8 #define __ENVIRONMENT_H__
9 
10 namespace Aspera{
11 namespace FaspManager{
12 
14 class Environment {
15  private:
16  static char const* m_fasp2_ascp_path_discovered;
17  static char const* m_fasp2_ascp_path_provided;
18  static char const* m_port_file_path;
19  static u_int16_t m_requested_server_port;
20 
21  static void logSettings();
22  ~Environment();
23 
24  public:
25 
30  static const char* GetFasp2AscpPath();
31 
35  static const char* GetPortFilePath();
36 
40  static void SetFasp2AscpPath(const char* path);
41 
47  static void SetManagementPort(u_int16_t port);
48 
52  static u_int16_t GetManagementPort();
53 };
54 
55 }
56 }
57 #endif /* __ENVIRONMENT_H__ */

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