SCMClient Class Reference

Interacts with platform manager service.

#include <scmClient.h>

Inheritance diagram for SCMClient:

Public Member Functions

 SCMClient (std::string &ip, int dport, int sport)
 
void asyncGetDevices (dpySCM::get_devices_handler_function handler)
 
void asyncGetReaders (std::string deviceId, dpySCM::get_readers_handler_function handler)
 
void newCardEvent_S (dpySCM::handler_cardEvent_function handler)
 
void newCardEvent_U ()
 
void deviceListEvent_S (dpySCM::handler_deviceListEvent_function handler)
 
void deviceListEvent_U ()
 
void chargeResultEMV_S (dpySCM::handler_device_charge_result_function handler)
 
void chargeResultEMV_U ()
 
void upgradeStatus_S (dpySCM::upgrade_status_events_function handler)
 
void upgradeStatus_U ()
 
void asyncForceDeviceUpgrade (std::string deviceId, dpySCM::force_device_upgrade_function handler)
 
void asyncAddKeys (dpySCM::DeviceKeys keyGroup, dpySCM::confirmation_handler_function handler)
 TODO GET UPGRADE STATUS.
 
void asyncAddKeys (std::string deviceId, std::string json, dpySCM::confirmation_handler_function handler)
 
void asyncGetKeys (std::string deviceId, dpySCM::get_keys_handler_function handler)
 
void asyncRemoveKeys (std::string deviceId, dpySCM::confirmation_handler_function handler)
 
void asyncCardOperation (dpySCM::TransactionDevice opertionDevice, dpySCM::card_operation_handler_function handler)
 
void asyncPassThrough (dpySCM::DevicePassThrough devicePassThrough, dpySCM::pass_through_operation_handler_function handler)
 
void asyncGetVersion (std::string deviceId, dpySCM::device_version_handler_function handler)
 
void asyncRequestChargeEMV (dpySCM::DeviceRequestCharge requestChargeDevice, dpySCM::confirmation_handler_function handler)
 
void asyncChargeConfirmationEMV (dpySCM::DeviceChargeConfirmation deviceChargeConfirmation, dpySCM::confirmation_handler_function handler)
 
void asyncSetPaymentAppStatus (dpySCM::DevicePaymentAppStatus Status, dpySCM::confirmation_handler_function handler)
 
void asyncGetPaymentAppInfo (std::string deviceId, dpySCM::device_payment_app_info_function handler)
 
void asyncGetPaymentAppConf (dpySCM::DevicePaymentAppConfiguration devicePaymentAppConf, dpySCM::device_payment_app_conf_function handler)
 
void asyncSetPaymentAppConf (dpySCM::DevicePaymentAppConfiguration devicePaymentAppConf, dpySCM::confirmation_handler_function handler)
 
void asyncForcePaymentAppComm (std::string deviceId, dpySCM::confirmation_handler_function handler)
 
void asyncPlayProfile (std::string deviceId, std::string profileId, dpySCM::confirmation_handler_function handler)
 
void asyncAddMediaProfiles (std::string deviceId, std::string json, dpySCM::confirmation_handler_function handler)
 
void asyncAddMediaProfiles (dpySCM::DeviceMediaProfiles deviceMediaProfiles, dpySCM::confirmation_handler_function handler)
 
void asyncGetMediaProfiles (std::string deviceId, dpySCM::device_media_profiles_function handler)
 
void asyncRemoveMediaProfiles (std::string deviceId, dpySCM::confirmation_handler_function handler)
 
void pciRebootEvent_S (dpySCM::reboot_time_handler_function handler)
 
void pciRebootEvent_U ()
 
void asyncGetPciRebootTime (std::string deviceId, dpySCM::reboot_time_handler_function handler)
 
void asyncSetPciRebootTime (dpySCM::DevicePciRebootTime rebootTime, dpySCM::confirmation_handler_function handler)
 
void asyncGetULCounter (std::string deviceId, dpySCM::UltraLightCounter &ulCounter, dpySCM::ultralight_counter_handler_function handler)
 
void asyncIncrementULCounter (std::string deviceId, dpySCM::UltraLightCounter &ulCounter, dpySCM::confirmation_handler_function handler)
 
void asyncGetNetworkConfiguration (std::string deviceId, dpySCM::device_network_configuration_handler_function handler)
 
void asyncSetNetworkConfiguration (dpySCM::DeviceNetworkConfiguration deviceNetworkConfiguration, dpySCM::confirmation_handler_function handler)
 
void asyncGetDateTime (std::string deviceId, dpySCM::device_date_time_handler_function handler)
 
void asyncRebootDevice (std::string deviceId, dpySCM::RebootType rebootType, dpySCM::confirmation_handler_function handler)
 
void asyncTestNetworkConnectivity (dpySCM::DeviceNetworkConnectivity deviceNetworkConnectivity, dpySCM::network_status_handler_function handler)
 
void asyncSetLoggingConfiguration (std::string deviceId, dpySCM::LoggingConfiguration loggingConfiguration, dpySCM::confirmation_handler_function handler)
 
void asyncGetLoggingConfiguration (std::string deviceId, dpySCM::get_logging_configuration_handler_function handler)
 
void asyncResetSamSlot (std::string deviceId, dpySCM::SamSlot slotNumber, dpySCM::confirmation_handler_function handler)
 
- Public Member Functions inherited from DpyMwClient
 DpyMwClient (std::string &ip, int dport, int sport)
 
void start ()
 
void stop ()
 
void subscribe (int messageType, boost::any handler)
 
void unsubscribe (int messageType)
 
bool isAlive ()
 
void monitorServiceAvailability_S (const f_hearbeat_handler &handler)
 
void monitorServiceAvailability_U ()
 

Additional Inherited Members

- Protected Member Functions inherited from DpyMwClient
void sendRequest (int requestType, int responseType, std::string content, boost::any handler, int ms_timeout=2000)
 
- Protected Attributes inherited from DpyMwClient
map_proto_register_client m_register_map
 
std::mutex m_map_mutex