[jdev] Entity Capabilities for JEP-0085

Chris Chen 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.

-Chris

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 [5]) or explicit discovery by the User of the Contact's  
> capabilities (e.g., as gained through Service Discovery [6] 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.
>
> -Jon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20060629/bada313d/attachment-0002.htm>


More information about the JDev mailing list