Revision: | 1.1.1.1 (vendor branch) |
Committed: | Mon Oct 31 22:10:36 2005 UTC (19 years, 6 months ago) by afaq |
Branch: | v00 |
CVS Tags: | AfterJan2006SchemaChanges_v01_00_01, AfterJan2006SchemaChanges_v01_00_00, AfterJan2006SchemaChanges, BeforeJan2006SchemaChanges, before_message_removal, preXOverChanges, start |
Branch point for: | BranchForCPPWebServiceTesting |
Changes since 1.1: | +0 -0 lines |
Log Message: | Adding Server code to the repository |
# | User | Rev | Content |
---|---|---|---|
1 | afaq | 1.1 | #include <string> |
2 | class Configuration { | ||
3 | |||
4 | public: | ||
5 | static Configuration* instance(); | ||
6 | int getPort(); | ||
7 | int getBacklog(); | ||
8 | std::string getLog(); | ||
9 | std::string getDsn(); | ||
10 | std::string getDbUser(); | ||
11 | std::string getDbPasswd(); | ||
12 | std::string getServerType(); | ||
13 | private: | ||
14 | Configuration(); | ||
15 | Configuration(const Configuration&); | ||
16 | Configuration& operator= (const Configuration&); | ||
17 | static Configuration* pinstance; | ||
18 | int port; | ||
19 | int backlog; | ||
20 | std::string logFile; | ||
21 | std::string dsn; | ||
22 | std::string dbuser; | ||
23 | std::string dbpasswd; | ||
24 | std::string xyz; | ||
25 | std::string servertype; | ||
26 | |||
27 | }; |