[jdev] Suspending and resuming presence
Tony Yat-Tung Cheung
tony.cheung at asiayeah.com
Sat Sep 23 10:21:19 CDT 2006
I am a developer of a wireless Jabber client. I think the idea of
pausing/resuming presence information is an interesting one.
It is neat to block incoming presence information by using the
privacy list. To resume the incoming presence information, we will
have to do a presence probe on every roster. This is certainly not
ideal. There should be a way for us to retrieve the presence changes
(deltas) only. We may as well bring this idea to improve the XMPP
protocol?
Is there really a huge battery savings? Has anyone performed any
field testing of this idea?
Thanks.
Regards,
Tony Cheung
> Message: 2
> Date: Thu, 21 Sep 2006 13:32:26 +0200
> From: Michal vorner Vaner <michal.vaner at kdemail.net>
> Subject: Re: [jdev] Suspending and resuming presence
> To: Jabber software development list <jdev at jabber.org>
> Message-ID: <20060921113226.GA4564 at tarantula>
> Content-Type: text/plain; charset="us-ascii"
>
> On Thu, Sep 21, 2006 at 11:22:12AM +0000, Saurabh Aggarwal wrote:
>
>> Doesn't this also set my presence to "unavailable". I want to
>> continue
>> staying online (or whatever my status was) on my buddies lists,
>> and keep
>> receiving other messages (just not presence from them).
>>
>> -Saurabh
>>
>>
>> ---------------------------------------------------------------------
>> -----
>>
>>
>>> Date: Thu, 21 Sep 2006 13:19:04 +0200
>>> From: norman at rasmussen.co.za
>>> To: jdev at jabber.org
>>> Subject: Re: [jdev] Suspending and resuming presence
>>>
>>> On 9/21/06, Saurabh Aggarwal <saurabh_aggarwal at hotmail.com> wrote:
>>>
>>> During an active session, is there a way to suspend/resume
>>> presence? I am
>>>
>>>> interested in letting the jabber server know that I am currently
>>>> not
>>>>
>>>
>>> interested in receiving presence information - so don't send me
>>> information
>>>
>>> when my buddies status changes. This is for a wireless device,
>>> and if I have
>>>
>>>> the app in the background, I don't want to waste battery/keep the
>>>> datachannel active.
>>>>
>>>
>>> what about sending: <presence type="unavailable" />
>>>
>>> --
>>> - Norman Rasmussen
>>> - Email: norman at rasmussen.co.za
>>> - Home page: http://norman.rasmussen.co.za/
>>>
>>
>>
>> ---------------------------------------------------------------------
>> -----
>>
>> Check the weather nationwide with MSN Search [1]Try it now!
>>
>> References
>>
>> Visible links
>> 1. http://search.msn.com/results.aspx?q=weather&FORM=WLMTAG
>>
>
> You can block incoming presence (privacy lists in XMPP-IM), but I
> have no idea how you will know their presence once you want to.
>
> --
> There's the light at the end of the the Windows.
>
> -- Havlik Denis
>
> Michal 'vorner' Vaner
>
More information about the JDev
mailing list