Interface CashCode
- All Known Implementing Classes:
CashCodeSM
public interface CashCode
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetError()voidvoidvoidpowerUp()voidsetLogger(org.slf4j.Logger logger) voidstartPolling(CashCodeEvents eventHandler) void
-
Method Details
-
init
void init(String portName, int baudRate, int dataBits, int stopBits, int parity) throws CashCodeException - Throws:
CashCodeException
-
disconnect
- Throws:
CashCodeException
-
powerUp
- Throws:
CashCodeException
-
powerDown
- Throws:
CashCodeException
-
startPolling
- Throws:
CashCodeException
-
stopPolling
- Throws:
CashCodeException
-
setLogger
void setLogger(org.slf4j.Logger logger) -
getInsertedBanknotes
-
getError
BillValidatorError getError()
-