devicecontroller

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2025 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 (*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()
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL