'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 <[email protected]> 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....
> ##
> and getPresence marked as deprecated in the current SDK. But in Java
> world "deprecated" usually used to change syntax or semantics, and
> leave incorrect method to maintain legacy. But not to mark method as
> "non working". So it is unclear what really happened with
> 'getPresence(..).isAvailable()'.
>
> Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to