public abstract class DeviceController extends Object implements IDisposable
| Modifier and Type | Field and Description |
|---|---|
protected IDeviceCommInterface |
_interface |
protected IRequestLogger |
logManagementProvider |
protected IRequestIdProvider |
requestIdProvider |
protected ITerminalConfiguration |
settings |
| Constructor and Description |
|---|
DeviceController(ITerminalConfiguration settings) |
| Modifier and Type | Method and Description |
|---|---|
abstract IDeviceInterface |
configureInterface() |
void |
dispose() |
ConnectionModes |
getConnectionModes() |
DeviceType |
getDeviceType() |
abstract TerminalResponse |
manageTransaction(TerminalManageBuilder builder) |
abstract ITerminalReport |
processReport(TerminalReportBuilder builder) |
abstract TerminalResponse |
processTransaction(TerminalAuthBuilder builder) |
byte[] |
send(IDeviceMessage message) |
protected ITerminalConfiguration settings
protected IDeviceCommInterface _interface
protected IRequestIdProvider requestIdProvider
protected IRequestLogger logManagementProvider
public DeviceController(ITerminalConfiguration settings) throws ConfigurationException
ConfigurationExceptionpublic ConnectionModes getConnectionModes()
public DeviceType getDeviceType()
public byte[] send(IDeviceMessage message) throws ApiException
ApiExceptionpublic abstract IDeviceInterface configureInterface() throws ConfigurationException
ConfigurationExceptionpublic abstract TerminalResponse processTransaction(TerminalAuthBuilder builder) throws ApiException
ApiExceptionpublic abstract TerminalResponse manageTransaction(TerminalManageBuilder builder) throws ApiException
ApiExceptionpublic abstract ITerminalReport processReport(TerminalReportBuilder builder) throws ApiException
ApiExceptionpublic void dispose()
dispose in interface IDisposableCopyright © 2024. All rights reserved.