server

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceInteractServer

type DeviceInteractServer struct {
	di.UnimplementedDeviceInteractServer
	// contains filtered or unexported fields
}

func NewDeviceInteractServer

func NewDeviceInteractServer(svcCtx *svc.ServiceContext) *DeviceInteractServer

func (*DeviceInteractServer) ActionRead added in v0.4.1

获取异步调用设备行为的结果

func (*DeviceInteractServer) GetPropertyReply added in v0.5.1

请求设备获取设备最新属性

func (*DeviceInteractServer) MultiSendProperty added in v0.5.1

批量调用设备属性

func (*DeviceInteractServer) PropertyRead added in v0.4.1

获取异步调用设备属性的结果

func (*DeviceInteractServer) RespAction added in v0.6.0

func (s *DeviceInteractServer) RespAction(ctx context.Context, in *di.RespActionReq) (*di.Response, error)

回复调用设备行为

func (*DeviceInteractServer) SendAction

调用设备行为

func (*DeviceInteractServer) SendMsg

发送消息给设备

func (*DeviceInteractServer) SendProperty

调用设备属性

Jump to

Keyboard shortcuts

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