[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: xPL Lib events
Hi Tom,
> If a device is configured (i.e. it receives a config.response) there
> is an event raised only if the device was in AwaitingConfiguration
> state.
>
> But the fact that a device's configuration elements are changed (even
> if it was configured before) may interest the developer who can then
> take some action.
Good point.
To get around this, I would rather add a new event, e.g. called
XplReconfigDone, as it may be that the developer takes different actions
during a reconfig than they do during an initial config.
If they don't, they can just set up event handlers for both XplConfigDone
and XplReconfigDone that point to the same code.
This also has the added advantage of not affecting existing apps that
expect XplConfigDone to only be fired once.
Thoughts?
Regards,
John
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|