Class CashCodeSM
java.lang.Object
tj.epic.cashcode.CashCodeSM
- All Implemented Interfaces:
CashCode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetError()voidvoidvoidpowerUp()voidsetLogger(org.slf4j.Logger logger) voidstartPolling(CashCodeEvents events) void
-
Constructor Details
-
CashCodeSM
public CashCodeSM() -
CashCodeSM
-
-
Method Details
-
init
public void init(String portName, int baudRate, int dataBits, int stopBits, int parity) throws CashCodeException - Specified by:
initin interfaceCashCode- Throws:
CashCodeException
-
disconnect
- Specified by:
disconnectin interfaceCashCode- Throws:
CashCodeException
-
powerUp
- Specified by:
powerUpin interfaceCashCode- Throws:
CashCodeException
-
powerDown
- Specified by:
powerDownin interfaceCashCode- Throws:
CashCodeException
-
startPolling
- Specified by:
startPollingin interfaceCashCode- Throws:
CashCodeException
-
stopPolling
- Specified by:
stopPollingin interfaceCashCode- Throws:
CashCodeException
-
setLogger
-
getInsertedBanknotes
- Specified by:
getInsertedBanknotesin interfaceCashCode
-
getError
-