If you end up using a Java robot and a static object variable -
remember to ensure you synchronize on it or use a synchronized
object.  Otherwise, simultaneous Servlet requests can end up changing
the shared static object's value before each request is done with it.

On Nov 11, 10:05 pm, "Niels H. Christensen"
<[email protected]> wrote:
> > Makes sense.  Is there any way to get the state change callbacks
> > _without_ using the robot to manage the shared states?
>
> I don't think so. To get a callback you either need
>   - someone (robot or ordinary user) to join or leave the Wave,
>   - or someone (robot or ordinary user) to change a gadget state,
>   - or the user must change the mode of the gadget (start/stop
> playback or editing).
> At least, that's how I read  
> http://code.google.com/apis/wave/extensions/gadgets/reference.html
>
> So it's a bot...or yourself with a pen and pencil.  :-)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to