+ rpc check-publish-notifications {
+ description "Upon receiving this, the member shall immediatelly return
+ the current tracking data related to the current (or previous) task
+ started by start-publish-notifications with this id.";
+ input {
+ uses llc:id-grouping;
+ }
+ output {
+ leaf active {
+ description "True if a publishing task for this id is running, false otherwise.";
+ mandatory true;
+ type boolean;
+ }
+ leaf publish-count {
+ description "How many notifications were published for this id since last start.
+ If there was no start-publish-notifications call for this id, this leaf is absent.";
+ mandatory false;
+ type int64;
+ }
+ leaf last-error {
+ description "If no task has been started by start-publish-notifications for this id,
+ or if the last such call has not encountered an error, this leaf is absent.
+ Otherwise it contains a string message from the last error, including stacktrace if possible.";
+ mandatory false;
+ type string;
+ }
+ }
+ }
+