comparison src/bridge/bridge_constructor/bridge_template.ini @ 541:8b116fa42a31

core, bridge: waiting confirmation management (new getWaitingConf method)
author Goffi <goffi@goffi.org>
date Wed, 14 Nov 2012 20:24:28 +0100
parents 2c4016921403
children 952322b1d490
comparison
equal deleted inserted replaced
540:47e45a577ab7 541:8b116fa42a31
106 [askConfirmation] 106 [askConfirmation]
107 type=signal 107 type=signal
108 category=core 108 category=core
109 sig_in=ssa{ss}s 109 sig_in=ssa{ss}s
110 doc=A confirmation is needed for an action 110 doc=A confirmation is needed for an action
111 doc_param_0=conf_type: Type of the confirmation, can be: 111 doc_param_0=id: Id of the confirmation query
112 doc_param_1=conf_type: Type of the confirmation, can be:
112 - YES/NO: A question which need a yes or no answer 113 - YES/NO: A question which need a yes or no answer
113 - FILE_TRANSFER: A confirmation is needed before transfering a file 114 - FILE_TRANSFER: A confirmation is needed before transfering a file
114 doc_param_1=id: Id of the confirmation query
115 doc_param_2=data: conf_type dependent data 115 doc_param_2=data: conf_type dependent data
116 doc_param_3=%(doc_profile)s 116 doc_param_3=%(doc_profile)s
117 117
118 [actionResult] 118 [actionResult]
119 type=signal 119 type=signal
328 sig_out=a{ss} 328 sig_out=a{ss}
329 param_0_default="@DEFAULT@" 329 param_0_default="@DEFAULT@"
330 doc=Get subscription requests in queue 330 doc=Get subscription requests in queue
331 doc_param_0=%(doc_profile_key)s 331 doc_param_0=%(doc_profile_key)s
332 doc_return=Dict where contact JID is the key, and value is the subscription type 332 doc_return=Dict where contact JID is the key, and value is the subscription type
333
334 [getWaitingConf]
335 type=method
336 category=core
337 sig_in=s
338 sig_out=a(ssa{ss})
339 doc=Get confirmations requests in queue
340 doc_param_0=%(doc_profile_key)s
341 doc_return=List of confirmation request data, same as for [askConfirmation]
342
333 343
334 [sendMessage] 344 [sendMessage]
335 type=method 345 type=method
336 category=core 346 category=core
337 sig_in=sssss 347 sig_in=sssss