Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescription
onStartupInvoked at plugin startup after all dependencies (including all manager instances) have been injected
onShutdownInvoked when the plugin is being shutdown
onRefreshInvoked every x number of seconds where x is the value > 0 returned from getRefreshInterval().
onPluginConfigurationUpdateInvoked when the plugin configuration has been changed
onDeviceConfigurationUpdateInvoked when the configuration for one of the plugin's devices has been changed
onSetDeviceVariableInvoked when a request to change a plugin device's variable has been received

There are some distinct advantages to the event loop approach:

...