axis

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(asyncCh chan<- *ds_models.AsyncValues, lc logger.LoggingClient) client.Client

NewClient returns a new Vapix Client

Types

type VapixClient

type VapixClient struct {
	// contains filtered or unexported fields
}

VapixClient is a client for requesting some basic analytic events from Axis cameras. It uses some deprecated APIs/methods and might not work with all Axis cameras out of the box.

func (*VapixClient) CameraInit

func (c *VapixClient) CameraInit(edgexDevice e_models.Device, ipAddress string, username string, password string)

CameraInit initializes the Vapix listener for the camera

func (*VapixClient) CameraRelease

func (c *VapixClient) CameraRelease(force bool)

CameraRelease shuts down the Vapix listener

func (*VapixClient) HandleReadCommand

func (c *VapixClient) HandleReadCommand(req ds_models.CommandRequest) (*ds_models.CommandValue, error)

HandleReadCommand is not implemented for Vapix--all commands that reach here are unexpected.

func (*VapixClient) HandleWriteCommand

func (c *VapixClient) HandleWriteCommand(req ds_models.CommandRequest, param *ds_models.CommandValue) error

HandleWriteCommand is not implemented for Vapix--all commands that reach here are unexpected.

Jump to

Keyboard shortcuts

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