devicecontroller

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: GPL-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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