opencoweb / coweb

Open Cooperative Web Framework
Other
232 stars 29 forks source link

Moderator functionality not complete #204

Closed ccotter closed 11 years ago

ccotter commented 12 years ago

As far as I can tell, some features promised by the SessionModerator interface are not actually provided by the coweb Java server. For example, the SessionModerator.onServiceResponse callback is never actually called by the server anywhere.

This issue shall list missing moderator features, and track their eventual implementation.

Missing/Need more information

vinomaster commented 11 years ago

Fix OnSync to no longer communicate to bots.

We then need to update CoMap to use Moderator.

ccotter commented 11 years ago

Just for reference (mainly my own):

CoMap subscribes to a service /bot/zipvisits. The server side bot (Java or python) listens for sync events (not service messages) sent by clients. Every five seconds, the bot sends a service message to clients with updated visit counts.

From now on, bots will no longer be able to know about sync events (mentinoed by @vinomaster). The moderator will do exactly what the comap bot does, except through sync channels and not service channels.

ccotter commented 11 years ago

Implementation is pretty much complete, but I need to document the API and how the CoMap demo works (probably with a tutorial of sorts).

ccotter commented 11 years ago

There is a lot of overlap in the javadocs for moderator and the sphinx docs. I'm going to move all SessionModerator documentation in the javadoc and point users to the javadocs page in the sphinx doc page for the moderator. In addition, however, I'l describe how to use the moderator in the sphinx page.

ccotter commented 11 years ago

All features have been added, so this issue is resolved.