[jdev] Jabber-RPC and Ad-Hoc Commands

25 views
Skip to first unread message

jun fang

unread,
Feb 23, 2012, 4:31:52 AM2/23/12
to jd...@jabber.org
Hi all,
Abou Jabber-RPC extension(XEP-0009), I know how to call remote method but how could I get known these methods?
Is there any mechanism like Ad-Hoc Commands extension(XEP-0050) sending discovering support messages?

I am trying remote control using xmpp. But I am confused by these two extension (RPC and Ad-Hoc Commands).
It seems RPC do not support discover messages and Ad-Hoc Commands do not support parameters(instead "stages").
Any suggestion?

BR,
Jun

Sergey Dobrov

unread,
Feb 23, 2012, 6:09:48 AM2/23/12
to jd...@jabber.org

You should definetely use Ad-Hoc for remote control. Ad-Hoc support
parameters, you can pass it with data forms.

Jabber-RPC should be used when porting existent XML-RPC APIs to the XMPP
transport. They have specification so there's no need to discover which
API methods exist.

>
> BR,
> Jun
>
>
>
> _______________________________________________
> JDev mailing list
> Info: http://mail.jabber.org/mailman/listinfo/jdev
> Unsubscribe: JDev-uns...@jabber.org
> _______________________________________________


--
With best regards,
Sergey Dobrov,
XMPP Developer and JRuDevels.org founder.

_______________________________________________
JDev mailing list
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: JDev-uns...@jabber.org
_______________________________________________

jun fang

unread,
Feb 23, 2012, 10:50:33 AM2/23/12
to Jabber/XMPP software development list
Thanks for clarification

Sergey Dobrov

unread,
Feb 23, 2012, 11:18:36 AM2/23/12
to jd...@jabber.org
On 02/23/2012 10:50 PM, jun fang wrote:
> Thanks for clarification
>

Also, take a look on http://xmpp.org/extensions/xep-0146.html

Reply all
Reply to author
Forward
0 new messages