Documentation ¶
Index ¶
- type DeviceInteractServer
- func (s *DeviceInteractServer) ActionRead(ctx context.Context, in *di.RespReadReq) (*di.SendActionResp, error)
- func (s *DeviceInteractServer) GetPropertyReply(ctx context.Context, in *di.GetPropertyReplyReq) (*di.GetPropertyReplyResp, error)
- func (s *DeviceInteractServer) MultiSendProperty(ctx context.Context, in *di.MultiSendPropertyReq) (*di.MultiSendPropertyResp, error)
- func (s *DeviceInteractServer) PropertyRead(ctx context.Context, in *di.RespReadReq) (*di.SendPropertyResp, error)
- func (s *DeviceInteractServer) RespAction(ctx context.Context, in *di.RespActionReq) (*di.Response, error)
- func (s *DeviceInteractServer) SendAction(ctx context.Context, in *di.SendActionReq) (*di.SendActionResp, error)
- func (s *DeviceInteractServer) SendMsg(ctx context.Context, in *di.SendMsgReq) (*di.SendMsgResp, error)
- func (s *DeviceInteractServer) SendProperty(ctx context.Context, in *di.SendPropertyReq) (*di.SendPropertyResp, error)
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 (s *DeviceInteractServer) ActionRead(ctx context.Context, in *di.RespReadReq) (*di.SendActionResp, error)
获取异步调用设备行为的结果
func (*DeviceInteractServer) GetPropertyReply ¶ added in v0.5.1
func (s *DeviceInteractServer) GetPropertyReply(ctx context.Context, in *di.GetPropertyReplyReq) (*di.GetPropertyReplyResp, error)
请求设备获取设备最新属性
func (*DeviceInteractServer) MultiSendProperty ¶ added in v0.5.1
func (s *DeviceInteractServer) MultiSendProperty(ctx context.Context, in *di.MultiSendPropertyReq) (*di.MultiSendPropertyResp, error)
批量调用设备属性
func (*DeviceInteractServer) PropertyRead ¶ added in v0.4.1
func (s *DeviceInteractServer) PropertyRead(ctx context.Context, in *di.RespReadReq) (*di.SendPropertyResp, error)
获取异步调用设备属性的结果
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 (s *DeviceInteractServer) SendAction(ctx context.Context, in *di.SendActionReq) (*di.SendActionResp, error)
调用设备行为
func (*DeviceInteractServer) SendMsg ¶
func (s *DeviceInteractServer) SendMsg(ctx context.Context, in *di.SendMsgReq) (*di.SendMsgResp, error)
发送消息给设备
func (*DeviceInteractServer) SendProperty ¶
func (s *DeviceInteractServer) SendProperty(ctx context.Context, in *di.SendPropertyReq) (*di.SendPropertyResp, error)
调用设备属性
Click to show internal directories.
Click to hide internal directories.