![]() |
CloverConnector
4.0.5
Copyright (C) 2018 Clover Network, Inc.
|
Factory to create an instance of the CloverConnector. More...
Static Public Member Functions | |
static ICloverConnector | createICloverConnector (CloverDeviceConfiguration config) |
Factory to create an instance of the CloverConnector More... | |
static ICloverConnector | CreateUsbConnector (string remoteApplicationId, string posName, string serialNumber, bool enableLogging=false) |
Create a USB configured connection CloverConnector to a Clover Device running USB Pay Display (UsbPD) Convenience wrapper around creating a USBCloverDeviceConfiguration object and calling CloverConnectorFactory.createICloverConnector More... | |
static ICloverConnector | CreateWebSocketConnector (string endpoint, string remoteApplicationId, string posName, string serialNumber, string pairingAuthToken, PairingDeviceConfiguration.OnPairingCodeHandler pairingCodeHandler, PairingDeviceConfiguration.OnPairingSuccessHandler pairingSuccessHandler, PairingDeviceConfiguration.OnPairingStateHandler pairingStateHandler, bool enableLogging=false) |
Create a WebSockect configured connection CloverConnector to a Clover Device running Secure Network Pay Display (SNPD) Convenience wrapper around creating a WebSocketCloverDeviceConfiguration object and calling CloverConnectorFactory.createICloverConnector More... | |
Factory to create an instance of the CloverConnector.
Definition at line 22 of file CloverConnectorFactory.cs.
|
static |
Factory to create an instance of the CloverConnector
config | Object that conveys the required information used by the connector. Usually a USBCloverDeviceConfiguration (USB connection) or WebSocketCloverDeviceConfiguration (Network/SNPD connection) |
Definition at line 30 of file CloverConnectorFactory.cs.
|
static |
Create a USB configured connection CloverConnector to a Clover Device running USB Pay Display (UsbPD) Convenience wrapper around creating a USBCloverDeviceConfiguration object and calling CloverConnectorFactory.createICloverConnector
remoteApplicationId | Application ID for server reporting |
posName | Point of Sale name for server reporting |
serialNumber | Station ID / serial number for server reporting |
enableLogging | Turn logging on or off |
Definition at line 44 of file CloverConnectorFactory.cs.
|
static |
Create a WebSockect configured connection CloverConnector to a Clover Device running Secure Network Pay Display (SNPD) Convenience wrapper around creating a WebSocketCloverDeviceConfiguration object and calling CloverConnectorFactory.createICloverConnector
endpoint | Clover Device Secure Network Pay Display (SNPD) network address, usually similar to "https://192.168.0.1:1234/remote_pay" |
remoteApplicationId | Application ID for server reporting |
posName | Point of Sale name for server reporting |
serialNumber | Station ID / serial number for server reporting |
pairingAuthToken | Previous paired auth token to allow quick reconnection without initiating antoerh pairing. Blank value, invalid or expired token will initiate a new pairing |
pairingCodeHandler | Delegate method called with temporary pairing code to enter on device, like 6341 - display to user to enter on Clover Device to complete pairing |
pairingSuccessHandler | Delegate method called with reconnection auth token when pairing has succeeded |
pairingStateHandler | Delegate method called during pairing flow transitions |
enableLogging | Turn logging on or off |
Definition at line 64 of file CloverConnectorFactory.cs.