Hi,

Currently after registering the first ApplicationStateListener with the 
BusAttachment we have to call AddApplicationStateRule afterwards in order to 
start watching for the "State" signals. Similarly when you want to unregister 
the last listener you remove the rule. I think it would be a lot easier and 
natural to just register/unregister the listener and have all of the rule 
adding/removal handled automatically.

Please let me know is there a reason for these two pairs to be handled 
separately? If not I think we could just handle the rules inside the 
register/unregister methods and deprecate Add/RemoveStateRule. I've created a 
bug<https://jira.allseenalliance.org/browse/ASACORE-2683> for that, in case we 
want to have it fixed.

Thanks,
Pawel Winogrodzki
_______________________________________________
Allseen-core mailing list
[email protected]
https://lists.allseenalliance.org/mailman/listinfo/allseen-core

Reply via email to