[jdev] Entity Capabilities for JEP-0085
ckchris at echomine.com
Thu Jun 29 03:20:00 CDT 2006
You can send a service discovery iq request to the client in
question. Clients SHOULD reply with a list of services it supports
IF it supports service discovery. You must send the IQ discovery
request to the full JID in order for the request to be routed to the
client (ie. abc at jabber.org/Home).
I have also seen clients (ie. iChat on Mac OSX) send entity
capabilities inside the presence packet. This is a rather ingenius
idea since the presence packet will be broadcasted to all clients
subscribed to this particular client's presence. You get the
capabilities automatically without having to send an additional query
and reply. I personally think that's rather cool.
On Jun 29, 2006, at 7:35 AM, Jon Perlow wrote:
> In JEP-0085 (Chat State Notifications) section 4.1, it says
> In the absence of explicit negotiation of a one-to-one chat session
> between a User and Contact (e.g., as specified in Chat Session
> Negotiation ) or explicit discovery by the User of the Contact's
> capabilities (e.g., as gained through Service Discovery  or
> Entity Capabilities [ 7]), the following business rules apply to
> the use of chat state notifications in the context of one-to-one
> chat sessions:
> Is there a specific service discovery feature that a client can
> check through service discovery and entity capabilites to see if
> the other client supports the chat state feature? This way, a
> client could send typing notifications before the other side has
> responded if it knows it support the feature. I didn't see any such
> feature specified in the JEP.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the JDev