[jdev] XEP-0115: Entity Capabilities - Presence Stanza

JabberForum list-jdev at jabberforum.org
Tue May 13 00:55:16 CDT 2008


XEP 115 talks about presence based messaging for entity capabilities.

As an example, it talks about presence packets being sent like this
<c xmlns='http://jabber.org/protocol/caps' 
hash='sha-1'
node='http://code.google.com/p/exodus'
ver='QgayPKawpkPSDYmwT/WM94uAlu0='/>

I have 2 questions.
(a) is it possible to modify the <c> element to include information
that i would like to send based on the status of the xmpp client? like
for instance if the xmpp client is coupled to a service and if the
service is running, then i would like to send 
"service1_running" within the <c> element. And if the service is not
running then i would like to send "service1_notrunning" within the <c>
element.. Or encapsulating that same information within an xml tag
within the <c> element should also be just fine..
Since the <c> element is namespaced within
xmlns='http://jabber.org/protocol/caps, i am doubtful if this make sense
and is possible at all?

(b) Is it possible to send <c> element at any other time other than the
time when the xmpp client logs in / logs out? 
I use Jabber.NET client for c#. does this offer any such support?

-Thanks!


-- 
santhosh.kulandaiyan
------------------------------------------------------------------------
santhosh.kulandaiyan's Profile: http://www.jabberforum.org/member.php?userid=16912
View this thread: http://www.jabberforum.org/showthread.php?t=37




More information about the JDev mailing list