comparison sat/bridge/bridge_constructor/bridge_template.ini @ 3163:d10b2368684e

bridge: added methods to let frontends store/retrieve/delete private data
author Goffi <goffi@goffi.org>
date Mon, 10 Feb 2020 22:01:53 +0100
parents 130f9cb6e0ab
children 39d7327583e1
comparison
equal deleted inserted replaced
3162:b5c058c7692e 3163:d10b2368684e
569 param_3_default="@DEFAULT@" 569 param_3_default="@DEFAULT@"
570 doc=Helper method to get a parameter's attribute *when profile is connected* 570 doc=Helper method to get a parameter's attribute *when profile is connected*
571 doc_param_0=name: as for [setParam] 571 doc_param_0=name: as for [setParam]
572 doc_param_1=category: as for [setParam] 572 doc_param_1=category: as for [setParam]
573 doc_param_2=attribute: Name of the attribute 573 doc_param_2=attribute: Name of the attribute
574 doc_param_3=%(doc_profile_key)s
575
576 [privateDataGet]
577 async=
578 type=method
579 category=core
580 sig_in=sss
581 sig_out=s
582 doc=Retrieve private data
583 doc_param_0=namespace: unique namespace to use
584 doc_param_1=key: key of the data to set
585 doc_param_2=%(doc_profile_key)s
586 doc_return=serialised data
587
588 [privateDataSet]
589 async=
590 type=method
591 category=core
592 sig_in=ssss
593 sig_out=
594 doc=Store private data
595 doc_param_0=namespace: unique namespace to use
596 doc_param_1=key: key of the data to set
597 doc_param_2=data: serialised data
598 doc_param_3=%(doc_profile_key)s
599
600 [privateDataDelete]
601 async=
602 type=method
603 category=core
604 sig_in=sss
605 sig_out=
606 doc=Delete private data
607 doc_param_0=namespace: unique namespace to use
608 doc_param_1=key: key of the data to delete
574 doc_param_3=%(doc_profile_key)s 609 doc_param_3=%(doc_profile_key)s
575 610
576 [asyncGetParamA] 611 [asyncGetParamA]
577 async= 612 async=
578 type=method 613 type=method