[jdev] Jabber-RPC and Ad-Hoc Commands

jun fang apifan at gmail.com
Thu Feb 23 15:50:33 UTC 2012


Thanks for clarification

On Thu, Feb 23, 2012 at 7:09 PM, Sergey Dobrov <binary at jrudevels.org> wrote:

> On 02/23/2012 04:31 PM, jun fang wrote:
> > 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?
>
> 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-unsubscribe at 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-unsubscribe at jabber.org
> _______________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20120223/43c0b8b5/attachment.html>


More information about the JDev mailing list