Documentation ¶
Index ¶
- func NewClient() client.Client
- type Client
- func (n Client) CameraInit(edgexDevice e_models.Device, ipAddress string, username string, ...)
- func (n Client) CameraRelease(force bool)
- func (n Client) HandleReadCommand(req models.CommandRequest) (*models.CommandValue, error)
- func (n Client) HandleWriteCommand(req models.CommandRequest, param *models.CommandValue) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct{}
Client is a camera client for cameras which don't have any other camera or manufacturer specific clients to leverage. All of this client's methods return an error if information is requested and otherwise comply silently with direction to Initialize or Release.
func (Client) CameraInit ¶
func (n Client) CameraInit(edgexDevice e_models.Device, ipAddress string, username string, password string)
CameraInit immediately returns control to the caller
func (Client) CameraRelease ¶
CameraRelease immediately returns control to the caller
func (Client) HandleReadCommand ¶
func (n Client) HandleReadCommand(req models.CommandRequest) (*models.CommandValue, error)
HandleReadCommand triggers a protocol Read operation for the specified device, resulting in an error for an unrecognized read command.
func (Client) HandleWriteCommand ¶
func (n Client) HandleWriteCommand(req models.CommandRequest, param *models.CommandValue) error
HandleWriteCommand triggers a protocol Write operation; resulting in an error for an unrecognized write command
Click to show internal directories.
Click to hide internal directories.