comparison src/bridge/bridge_constructor/bridge_template.ini @ 2113:9c861d07b5b6

core: added sessionGetInfos bridge method to retrieve various data on current profile session + client.started keep start time
author Goffi <goffi@goffi.org>
date Thu, 05 Jan 2017 22:22:13 +0100
parents 24827e550991
children 2f264f3df280
comparison
equal deleted inserted replaced
2112:877d0a2d0d86 2113:9c861d07b5b6
714 sig_in=s 714 sig_in=s
715 sig_out=b 715 sig_out=b
716 doc=Load parameters template from xml file 716 doc=Load parameters template from xml file
717 doc_param_0=filename: input filename 717 doc_param_0=filename: input filename
718 doc_return=boolean (True in case of success) 718 doc_return=boolean (True in case of success)
719
720 [sessionInfosGet]
721 async=
722 type=method
723 category=core
724 sig_in=s
725 sig_out=a{ss}
726 doc=Get various informations on current profile session
727 doc_param_0=%(doc_profile_key)s
728 doc_return=session informations, with at least the following keys:
729 jid: current full jid
730 started: date of creation of the session (Epoch time)