This class contains all the operations that Avilible for a Service. Since this class is abstract, Servuce object is invlaid and can't be constructed. A Service handle is created by SPI class interface. All data in this class is reachable through various methods which define the behaivor of the operation.
More...
#include <Device.h>
|
| virtual SPILIBRARY_API SPI_RET_VAL | Init ()=0 |
| | Initialize the payment service.
|
| |
| virtual SPILIBRARY_API SPI_RET_VAL | SetConfig (Config &ConfigObj)=0 |
| | Initialize the payment service.
|
| |
| SPILIBRARY_API string | GetName () const |
| | Get device name as defined while added to SPI.
|
| |
|
APIHandle | GetDeviceHandle () const |
| | Handle get - reserved for internal useage.
|
| |
|
| Device (string Name, Config &) |
| | Constructor reserved for internal useage.
|
| |
|
virtual | ~Device () |
| | destructor reserved for internal useage
|
| |
This class contains all the operations that Avilible for a Service. Since this class is abstract, Servuce object is invlaid and can't be constructed. A Service handle is created by SPI class interface. All data in this class is reachable through various methods which define the behaivor of the operation.
Definition at line 30 of file Device.h.
| SPILIBRARY_API string Modularity::SPI::Device::GetName |
( |
| ) |
const |
Get device name as defined while added to SPI.
- Returns
- std::string with Name.
| virtual SPILIBRARY_API SPI_RET_VAL Modularity::SPI::Device::Init |
( |
| ) |
|
|
pure virtual |
Initialize the payment service.
- Parameters
-
| [in] | DeviceSerialNo | - Device serial number.Considering AshraitEMV service, that runs over the user device such as library, that must be sent. |
- Returns
- SPI_SUCCESS : Service initialization was OK.
- SPI_INVALID : An error occurred
- See Also
- InitAshraitExample()
| virtual SPILIBRARY_API SPI_RET_VAL Modularity::SPI::Device::SetConfig |
( |
Config & |
ConfigObj | ) |
|
|
pure virtual |
Initialize the payment service.
- Parameters
-
| [in] | DeviceSerialNo | - Device serial number.Considering AshraitEMV service, that runs over the user device such as library, that must be sent. |
- Returns
- SPI_SUCCESS : Service initialization was OK.
- SPI_INVALID : An error occurred
- See Also
- InitAshraitExample()
| APIHandle Modularity::SPI::Device::DeviceHandle |
|
protected |
The documentation for this class was generated from the following file: