Menu

#117 Cannot change metric before MetricListener.changedMetric() is invoked

Beta05
closed
2015-06-22
2015-03-16
No

When connecting a client to a device I cannot change a device's metric before MetricListener.changedMetric() is called. That means I have to subscribe a MetricListener to change a metric.

The problem is that it could take a few seconds until the MetricListener is called after finding a device.

I don't know whether this is a bug or not. I just want to clarify if this works as expected.

Discussion

  • Stefan Schlichting

    That is correct. It is required that you subscribe to an OperationInvocationReport before you change something. Actually, you just have to subscribe to the metric and should not have to wait for the callback.

     
  • Stefan Schlichting

    • labels: --> RemoteControl
    • status: open --> wont-fix
    • assigned_to: Stefan Schlichting
     
  • Stefan Schlichting

    • status: wont-fix --> pending
     
  • Stefan Schlichting

    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB