SPI  1.1.52
Secured Payment Interface
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Config.h
Go to the documentation of this file.
1 
15 #ifndef __CONFIG__H__
16 #define __CONFIG__H__
17 
18 #include <stdio.h>
19 #include <string>
20 #include <cstring>
21 
22 #include "SPIDEF.h"
23 
24 
25 using std::string;
26 
27 namespace Modularity {
28 
29  namespace SPI {
33  class Config {
34 
35  public:
39  SPILIBRARY_API Config();
40 
46  SPILIBRARY_API Config(string IP, PortType RFU);
47 
52  SPILIBRARY_API Config(string COMPort);
53 
58  SPILIBRARY_API Config (const Config& TmpConfig);
59 
64  SPILIBRARY_API Config& operator= (const Config & NewConfig);
65 
73  SPILIBRARY_API SPI_RET_VAL SetCertificateFilesDirectory(string Path);
74 
83  SPILIBRARY_API SPI_RET_VAL SetProcessorIPAddress(string IPAddress);
84 
94  SPILIBRARY_API SPI_RET_VAL SetProcessorPortNumber(PortType Port);
95 
103  SPILIBRARY_API SPI_RET_VAL SetManufactureID(string ID);
104 
113  SPILIBRARY_API SPI_RET_VAL SetECRIdentifier(string ID);
114 
121  SPILIBRARY_API void EnableMiniSettelment();
122 
132 
137  SPILIBRARY_API string GetIP();
138 
143  SPILIBRARY_API string GetCOM();
144 
149  SPILIBRARY_API ExcUnitLocation GetEUL();
150 
155  SPILIBRARY_API SPI_STATUS GetStatus();
156 
160  SPILIBRARY_API ~Config();
161 
166  private:
167 
168  APIHandle ConfigHandle;
169  };
170 
171  }
172 
173 }
174 
175 
176 
177 
178 
179 #endif
180 
181