• Sébastien Blin's avatar
    sipaccountbase: add getLastMessages() · 6fc81302
    Sébastien Blin authored
    Because a client can receives messages before a client is ready to
    receive it and because the daemon does not store any message, we
    should have, like calls or file transfers, have a method to get
    these messages.
    
    So, this patch introduces a new method which gives the ability to
    retrieve messages since the daemon has been launched. To do that,
    when the daemon will receives a new message, it will store this
    message into a queue (limited to 1000 messages) and save the
    related timestamp. When the client is ready it can call getLastMessages
    with its last known timestamp. This method will return all messages
    received after this timestamp.
    
    Note: the perfect way to do that is to store messages directly in
    the daemon not clients. We also need some synchronization processes.
    
    Change-Id: Iceb1654088a843f9be5b4a47bcc23201e9b38c01
    6fc81302
Name
Last commit
Last update
MSVC Loading commit data...
bin Loading commit data...
contrib Loading commit data...
doc Loading commit data...
docker Loading commit data...
extras/tools Loading commit data...
m4 Loading commit data...
man Loading commit data...
ringtones Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitreview Loading commit data...
AUTHORS Loading commit data...
CODING Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
astylerc Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
globals.mk Loading commit data...