Gadget Participant Online Status?

1 view
Skip to first unread message

antimatter15

unread,
Aug 23, 2009, 9:00:32 PM8/23/09
to Google Wave API
I have a drawing app (VectorEditor) and it uses shape locking to
prevent multiple participants from selecting the same shapes. But if
someone has shapes selected, and then goes offline, the shapes are
basically locked forever. Though a timeout might work, it would be
better to have a way to find out which participants are online.

donotcareaboutspam

unread,
Aug 23, 2009, 10:17:21 PM8/23/09
to Google Wave API
Maybe logging off in the <body onunload> but that would not solve the
issue of a lock not getting released due to a crash.

Maybe a bot could know if a user leaves unexpectedly.

Jason Salas

unread,
Aug 24, 2009, 1:53:51 AM8/24/09
to google-...@googlegroups.com
Someone several weeks ago came up with the notion of writing a neat
robot-based service that pings a gadget, and then waits for a pong to
confirm its uptime. No implementation code, but that's the general
idea. :)

Jason

Anthoni

unread,
Aug 24, 2009, 12:02:28 PM8/24/09
to Google Wave API
Hi Jason,

I didnt think it was currently possible for robots to talk properly to
gadgets yet?
I know a robot can catch gadget state (I think this is the right way
around), but it is not possible to alter anything in a gadget. You
need to rebuild the gadget and then re-add it back in the blip.
Am I wrong on this ?

Regards
Anthoni

On Aug 24, 6:53 am, Jason Salas <digitalpontificat...@gmail.com>
wrote:
> Someone several weeks ago came up with the notion of writing a neat
> robot-based service that pings a gadget, and then waits for a pong to
> confirm its uptime.  No implementation code, but that's the general
> idea.  :)
>
> Jason
>
> On Mon, Aug 24, 2009 at 12:17 PM,
>

mrbunnylamakins

unread,
Aug 24, 2009, 3:33:57 AM8/24/09
to Google Wave API
Vector Editor? ....Is it like SVG? I really think SVG usage is not
being applied to the fullest. I played over 8 years ago games that
were HTML based. Blew my mind away. No flash just html code. I wanted
to make SVG puzzles and math tutor program using SVG.

So wonders what how your program works....

Niels H. Christensen

unread,
Aug 24, 2009, 6:52:12 AM8/24/09
to Google Wave API
Can't this be inferred from the result of wave.getParticipants()?

http://code.google.com/apis/wave/extensions/gadgets/guide.html#summary

Jason Salas

unread,
Aug 24, 2009, 6:18:35 PM8/24/09
to google-...@googlegroups.com
I would think so. :) At the moment the only presence types are
online or offline within the Wave system at-large, and whether a user
is part of a wave(let). So if a user's part of the array from
wave.getParticipants(), I'd say that's a good way.

Jason Salas

unread,
Aug 25, 2009, 9:37:15 AM8/25/09
to Google Wave API
Hi Anthoni,

Here's the post I was mentioning earlier about writing monitoring
services: http://groups.google.com/group/wave-robot-community/browse_thread/thread/10aa2409e088d483#

antimatter15

unread,
Aug 25, 2009, 11:02:13 AM8/25/09
to Google Wave API
It uses Raphael which renders all the graphics to SVG or VML so it
should (I use linux so I can't really test) work on IE as well as
modern browsers.

antimatter15

unread,
Aug 25, 2009, 11:04:17 AM8/25/09
to Google Wave API
wave.getParticipants() as far as I'm aware (as this is what the app
already does) doesn't show its offline status.

On Aug 24, 6:18 pm, Jason Salas <digitalpontificat...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages