Documentation
¶
Index ¶
- type DeviceController
- func (dc *DeviceController) Dispose()
- func (dc *DeviceController) GetConnectionModes() connectionmodes.ConnectionModes
- func (dc *DeviceController) GetDeviceCommInterface() abstractions.IDeviceCommInterface
- func (dc *DeviceController) GetDeviceType() devicetype.DeviceType
- func (dc *DeviceController) GetRequestIdProvider() abstractions.IRequestIdProvider
- func (dc *DeviceController) GetSettings() abstractions.ITerminalConfiguration
- func (dc *DeviceController) SetDeviceCommInterface(deviceInterface abstractions.IDeviceCommInterface)
- func (dc *DeviceController) SetDeviceType(d devicetype.DeviceType)
- func (dc *DeviceController) SetRequestIdProvider(provider abstractions.IRequestIdProvider)
- func (dc *DeviceController) SetSettings(settings abstractions.ITerminalConfiguration)
- type IDeviceController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceController ¶
type DeviceController struct {
// contains filtered or unexported fields
}
this type does not fully implement the interface. it needs to be extended to do so
func NewDeviceController ¶
func NewDeviceController() *DeviceController
func (*DeviceController) Dispose ¶
func (dc *DeviceController) Dispose()
func (*DeviceController) GetConnectionModes ¶
func (dc *DeviceController) GetConnectionModes() connectionmodes.ConnectionModes
func (*DeviceController) GetDeviceCommInterface ¶
func (dc *DeviceController) GetDeviceCommInterface() abstractions.IDeviceCommInterface
func (*DeviceController) GetDeviceType ¶
func (dc *DeviceController) GetDeviceType() devicetype.DeviceType
func (*DeviceController) GetRequestIdProvider ¶
func (dc *DeviceController) GetRequestIdProvider() abstractions.IRequestIdProvider
func (*DeviceController) GetSettings ¶
func (dc *DeviceController) GetSettings() abstractions.ITerminalConfiguration
func (*DeviceController) SetDeviceCommInterface ¶
func (dc *DeviceController) SetDeviceCommInterface(deviceInterface abstractions.IDeviceCommInterface)
func (*DeviceController) SetDeviceType ¶
func (dc *DeviceController) SetDeviceType(d devicetype.DeviceType)
func (*DeviceController) SetRequestIdProvider ¶
func (dc *DeviceController) SetRequestIdProvider(provider abstractions.IRequestIdProvider)
func (*DeviceController) SetSettings ¶
func (dc *DeviceController) SetSettings(settings abstractions.ITerminalConfiguration)
type IDeviceController ¶
type IDeviceController interface {
GetConnectionModes() connectionmodes.ConnectionModes
GetDeviceType() devicetype.DeviceType
Send(message abstractions.IDeviceMessage) ([]byte, error)
ConfigureInterface() abstractions.IDeviceInterface
ProcessTransaction(builder *builders.TerminalAuthBuilder) (terminalresponse.ITerminalResponse, error)
ManageTransaction(builder *builders.TerminalManageBuilder) (terminalresponse.ITerminalResponse, error)
ProcessTransactionWithContext(ctx context.Context, builder *builders.TerminalAuthBuilder) (terminalresponse.ITerminalResponse, error)
ManageTransactionWithContext(ctx context.Context, builder *builders.TerminalManageBuilder) (terminalresponse.ITerminalResponse, error)
GetSettings() abstractions.ITerminalConfiguration
SetSettings(settings abstractions.ITerminalConfiguration)
GetDeviceCommInterface() abstractions.IDeviceCommInterface
SetDeviceCommInterface(deviceInterface abstractions.IDeviceCommInterface)
GetRequestIdProvider() abstractions.IRequestIdProvider
SetRequestIdProvider(provider abstractions.IRequestIdProvider)
Dispose()
}
Click to show internal directories.
Click to hide internal directories.