MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / deviceStateUpdate

Method deviceStateUpdate

server/device.go:51–53  ·  view source on GitHub ↗
(ctx context.Context, reply string, req *proxy.Request)

Source from the content-addressed store, hash-verified

49}
50
51func (s *Server) deviceStateUpdate(ctx context.Context, reply string, req *proxy.Request) {
52 s.sendError(reply, s.ari.DeviceState().Update(req.Key, req.DeviceStateUpdate.State))
53}

Callers

nothing calls this directly

Calls 3

sendErrorMethod · 0.95
DeviceStateMethod · 0.80
UpdateMethod · 0.45

Tested by

no test coverage detected