comparison src/bridge/bridge_constructor/bridge_template.ini @ 425:e4e9187e3b5b

backend, bridge: asynchronous history quick_frontend: use of asynchronous history
author Goffi <goffi@goffi.org>
date Tue, 08 Nov 2011 01:08:11 +0100
parents 6c20c76abdcc
children 17c7e48bf68f
comparison
equal deleted inserted replaced
424:72c13313b6d6 425:e4e9187e3b5b
432 sig_out=as 432 sig_out=as
433 doc=Get all categories currently existing in parameters 433 doc=Get all categories currently existing in parameters
434 doc_return=list of categories 434 doc_return=list of categories
435 435
436 [getHistory] 436 [getHistory]
437 type=method 437 async=
438 category=core 438 type=method
439 sig_in=ssi 439 category=core
440 sig_out=a{i(ss)} 440 sig_in=ssib
441 sig_out=a{i(sss)}
442 param_3_default=True
441 doc=Get history of a communication between two entities 443 doc=Get history of a communication between two entities
442 doc_param_0=from_jid: source JID 444 doc_param_0=from_jid: source JID (bare jid for catch all, full jid else)
443 doc_param_1=to_jid: dest JID 445 doc_param_1=to_jid: dest JID (bare jid for catch all, full jid else)
444 doc_param_2=size: size of the history (0 for the whole history) 446 doc_param_2=limit: max number of history elements to get (0 for the whole history)
445 doc_return=Dict where key is timestamp (seconds this the Epoch), and value is a tuple (from_jid, message) 447 doc_param_3=between: True if we want history between the two jids (in both direction), False if we only want messages from from_jid to to_jid
448 doc_return=Dict where key is timestamp (seconds this the Epoch), and value is a tuple (full from_jid, full to_jid, message)
446 449
447 [addContact] 450 [addContact]
448 type=method 451 type=method
449 category=core 452 category=core
450 sig_in=ss 453 sig_in=ss