'isAvailable' still does not work for me.
Anyhow, banishing of synchronous 'isAvailable' method means a pretty
big change. Previously, recipient's JID was all needed, to send a xmpp
message. From now on, GAE application have to maintain a 'roster' with
statuses of the subscribers. And now it is unable to check recipient's
status, and send a message. Status have to be already stored in
roster. And app must handle 'error' xmpp responses to adjust that
statuses. BTW, there is no methods nor classes in the current GAE Java
SDK to parse 'error' stanzas.
On Nov 10, 6:12 pm, Artem Kuroptev <
kurop...@gmail.com> wrote:
> Hello everyone.
>
> I would appreciate if somebody can clarify these things:
>
> 1. XMPPService.getPresence(..).isAvailable() constantly returns
> 'false' as of today. Is that a temporary behavior, or this methods
> don't work anymore?
>
> 2. Is sendPresence method with PROBE PresenceType asynchronous?
>
> 3. Is that correct, that now there is no way to check JID presence
> (whether user online) synchronously?
>
> I have tried to read the docs. As been noted in Version 1.5.5 release
> notes:
> ##
> In the XMPP API, getPresence() is deprecated in favor of using the
> inbound presence handlers documented inhttp://
code.google.com/appengine/docs/java/xmpp/overview.html#Handlin....