Re: SAMPY

From: Mark Taylor <m.b.taylor-at-bristol.ac.uk>
Date: Thu, 3 Jul 2008 15:45:31 +0100 (BST)


On Wed, 2 Jul 2008, Mark Taylor wrote:

> Looks great Luigi. I certainly haven't given it a thorough workout,
> but initial tests show it cooperating happily with my java code.
> I'll let you know about further results when I've got some.

Hi Luigi,

I think there's a problem with calls from the sampy hub to clients. For instance I am receiving the XML-RPC call samp.client.recieveNotification with two parameters, which look like the application's public ID and the message structure. At sec 4.2, the specification says:

    3. All other hub and client methods take the private-key as

       their first argument.

so I think that you should be inserting the private-key as the first argument of your receiveNotification calls from hub to client (and possibly other hub to client calls too, I haven't checked these).

Mark

-- 
Mark Taylor   Astronomical Programmer   Physics, Bristol University, UK
m.b.taylor@bris.ac.uk +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
Received on 2008-07-03Z16:45:33