[Google Wave APIs] robot get gadget state concurrency
Hello, happy New Year! I wish I come with gifts, but I come with questions. :) If two gadget instances made change to the gadget state, robot should get two BLIP_SUBMITTED events. Let's say gadget instance1 change state testkey to 1 then gadget instance 2 change state testkey to 2. Supposedly robot will get 2 BLIP_SUBMITTED events, one for each gadget state change. Within first event callback, robot calls gadget.getField(testkey), does it always get 1. Is there any case that gadget.getField() will return 2 within the first event? What if within the first event callback, robot delayed a while before calling gadget.getField(), and gadget has already calls submitDelta() to change state already. Does it get the state before gadget state change or after gadget state change? Thank you very much. -- You received this message because you are subscribed to the Google Groups Google Wave API group. To post to this group, send email to google-wave-...@googlegroups.com. To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
[Google Wave APIs] Java robot setField() does not work
We are also hitting issue #406. When using setField to set gadget state, gadget does not receive the state change. Since we are trying to use it for robot-gadget interaction, the robot has to change gadget state in response to gadget state change. Is there a workaround? Thank you very much. http://code.google.com/p/google-wave-resources/issues/detail?id=406q=setfieldcolspec=Stars%20ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20InternalOn Nov 17, 1:56 am, pamela (Google Employee) pamela...@gmail.com wrote: It does work, and many robots do so, but there are some bugs filed about cases where it does not work. For example: http://code.google.com/p/google-wave-resources/issues/list?can=2q=se... http://code.google.com/p/google-wave-resources/issues/list?can=2q=se... On Mon, Nov 16, 2009 at 8:02 AM, Jacco jacc...@gmail.com wrote: I think currently communicating from robot to gadget is not possible? The gadget.setField does not change the state of the gadget in my tests. Regards, JaccoOn 12 nov, 16:48, just marvin marvin.greenb...@gmail.com wrote:It occurs to me that since you'll need a bot and a gadget, you couldjust have the bot add the gadget(s) to the wave. Then you just needto add one thing to the wave and you'll know you have the correctenvironment for the gadgets.-- You received this message because you are subscribed to the Google Groups Google Wave API group. To post to this group, send email to google-wave-...@googlegroups.com. To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.comgoogle-wave-api%2bunsubscr...@googlegroups.com google-wave-api%2Bunsubscribe@ googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=. -- You received this message because you are subscribed to the Google Groups Google Wave API group. To post to this group, send email to google-wave-...@googlegroups.com. To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
[Google Wave APIs] Re: Robot state persists
Adding to atc's info.For java appengine, one can use JDO or JPA to access appengine datastore. For JDO, first, create a JDO object by specifies the annotation. Then one can just call makePersistent() to persist the data. See http://code.google.com/appengine/docs/java/datastore/ Hope it helps. On Sun, Oct 18, 2009 at 10:32 AM, atc alextcoll...@gmail.com wrote: On Oct 18, 5:57 pm, Smola callmesm...@gmail.com wrote: I need a way for information my robot gathers to persist. So, let's say I want to find a blip and save its ID so I can work with it in the future. I don't know how to do that currently. I know how to find the ID of a blip, but I do I save it for later use? Or, if I create an object in response to an event, how do I save all of the properties of that object as they are affected by more and more incoming blips? What language are you using? Is the object automatically saved on the server when my robot is added to a wave and then stays there the rest of the time? It would seem that if waves are to exist forever in my archive that that would take up quite a bit of space down the road. The persistence probably comes from using the datastore provided by Google App Engine. Provide a bit more information first and perhaps people can help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Wave API group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---
[Google Wave APIs] Re: Various questions: 1. Can testers with Dev. Sandbox account see Users with Regular account?
I am trying to answer this with the very little knowledge I have, I could be wrong.1. sandbox wave and preview wave servers are not federated yet. So sandbox users cannot talk to preview users. I think I saw that somewhere in the forum. 2. I was not able to see that until I change the picture setting to Visible to everyone On Thu, Oct 15, 2009 at 5:32 AM, John Black johnpelhambl...@gmail.comwrote: 1. Can testers with Dev. Sandbox account see Users with Regular Wave account? 2. I have a two Dev. Sandbox accounts for testing but I can never see the pictures of the other account. Known issue? 3. I have a regular Gmail account. Can I use it, instead of my new Wave Sandbox account for my ID? Is there a good reason not too? Thanks, John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Wave API group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---
[Google Wave APIs] Re: How to call third party sever data in my wave gadget
i think razorcam's iframe way should work. in addition to the approach he suggested, there are 2 more potential approaches: 1. gadget's makeRequest() function. i believe makeRequest is designed for gadget to communicate with server. http://wiki.opensocial.org/index.php?title=Introduction_to_makeRequest 2. embed flash object in your gadget, have a flash object sending http request to your server. let me know if it works out for you. On Thu, Oct 8, 2009 at 11:32 AM, razorcam i...@free2.eu.org wrote: My guess is that any javascript that comes directly from your server (using src or an IFRAME) will have access to your server (and only to your server). Another way : by opening a very small IFRAME with a form sent to an an URL located on your server, you should be able to store informations in your server without any further javascript. Please let us know the solution that you will choose. Blanchard razorcam.com On Oct 8, 11:12 am, Rajasekhar rajaveern...@gmail.com wrote: HI All I am new to this wave concept .I created a sample gadget and there i need to save some values to my own server.is there any way to do this? can any one help me on this issue Thanks Rajasekhar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Wave API group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~--~~~~--~~--~--~---