Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Jabber-RPC
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Massimiliano Mirra - bard  
View profile  
 More options Dec 8 2004, 9:04 am
Newsgroups: comp.lang.ruby
From: Massimiliano Mirra - bard <mmi...@libero.REMOVETHIS.it>
Date: Wed, 08 Dec 2004 14:04:38 GMT
Local: Wed, Dec 8 2004 9:04 am
Subject: [ANN] Jabber-RPC

Ever thought it would be nice to call objects located anywhere in the
world, without bothering with static IPs, DNS, Apache, CGI, NAT, PAT,
gateways, authentication, and so on?

Jabber-RPC lets you do this.  On the callee side you have:

  require "jabber/rpc"

  class TestAgent < Jabber::RPC::BasicAgent
    def exposed_commands
      ["alive?"]
    end

    def alive?
      true
    end
  end

  agent = TestAgent.new("b...@jabberserver.com/TestAgent", "bot")
  agent.connect

On caller, you have:

  session = Jabber::Session.bind("user@jabberserver/Ruby", "user")
  remote_agent = Jabber::RPC::Client.new(session, "b...@jabberserver.com/TestAgent").proxy3
  remote_agent.alive?  #=>  true

And with a bit more code, remote users can talk to the object through
an IM client, too.

Find it at: http://jabber-rpc.rubyforge.org

Massimiliano


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raphael Bauduin  
View profile  
 More options Dec 8 2004, 10:20 am
Newsgroups: comp.lang.ruby
From: Raphael Bauduin <raphael.baud...@be.easynet.net>
Date: Wed, 08 Dec 2004 16:20:12 +0100
Local: Wed, Dec 8 2004 10:20 am
Subject: Re: [ANN] Jabber-RPC
Massimiliano Mirra - bard wrote:

Cool! Testing this has just been added to my todo list ;-)

Raph


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aredridel  
View profile  
 More options Dec 8 2004, 5:03 pm
Newsgroups: comp.lang.ruby
From: Aredridel <aredri...@gmail.com>
Date: Thu, 9 Dec 2004 07:03:29 +0900
Local: Wed, Dec 8 2004 5:03 pm
Subject: Re: [ANN] Jabber-RPC
On Wed, 8 Dec 2004 23:07:36 +0900, Massimiliano Mirra - bard

<mmi...@libero.removethis.it> wrote:

> Ever thought it would be nice to call objects located anywhere in the
> world, without bothering with static IPs, DNS, Apache, CGI, NAT, PAT,
> gateways, authentication, and so on?

> Jabber-RPC lets you do this.  On the callee side you have:

A proper install procedure:
mkdir lib/jabber -p
mv rpc.rb lib/jabber/rpc.rb
cp /path/to/setup.rb .

Then build as you would any setup.rbified package.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google