AFAIK robots can only access the wave through events you subscribe to in the capabilities.xml file, "Note that a robot cannot contact Wave directly; it can only respond to wave-related events and cron events". To get around this I made a robot that uses a class that extends HttpServlet to recieve external actions, sets a value and then in a seperate class cron event every 10 seconds checks to see if that value has been changed so it can update the wave in response to it. So far this has just about worked though it is my first robot and hasn't been tested properly.
The tweety http://google-wave-resources.googlecode.com/svn/trunk/samples/extensions/robots/java/tweety/ example helped me with the cron pieces, /src/com/google/wave/ extensions/tweety/UpdateServlet.java handles the cron calls. Hope that helps, Alex --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~----------~----~----~----~------~----~------~--~---
