[Google Wave APIs] Re: Fundamental question - what does context...um...do?

2009-10-26 Thread Austin Chau (Google employee)
Essentially you can think of event handler/context as callback (endpoint) with data (context). Imagine you have a handler for a particular type of wave event. When that event has occurred, the Wave server could trigger your endpoint with this notification. Associated with this notification, is

[Google Wave APIs] Re: Fundamental question - what does context...um...do?

2009-10-26 Thread Chris C.
Aha! The light dawns. On Oct 26, 4:40 pm, Austin Chau (Google employee) api.aus...@google.com wrote: Essentially you can think of event handler/context as callback (endpoint) with data (context).  Imagine you have a handler for a particular type of wave event.  When that event has occurred,

[Google Wave APIs] Re: Fundamental question - what does context...um...do?

2009-10-26 Thread Olemis Lang
On Mon, Oct 26, 2009 at 1:31 PM, Chris C. yclept.ch...@gmail.com wrote: Okay, I've written a robot that parses new blips for particular strings (in this case, strings representing dice rolls), and inserts the result of a particular dice roll in the blip. It works fine, exactly as I expect

[Google Wave APIs] Re: Fundamental question - what does context...um...do?

2009-10-26 Thread Austin Chau (Google employee)
No you have no control context. Context is managed sent by the server. If you need to maintain states, you need your own datastore or you can use the DataDocument from Wavelet.