1
edit
Changes
→Publishing Polls
===Publishing Polls===
*Publish a poll
** Poll is saved into Redis and immediately retrieved from Redis to send to viewers''' (done)'''** A unique easy to type key corresponding to Poll title/room for web poll and save it in Redis'''(done)'''
*** An option to show the poll url in stat window (enable web access)
*** poll key are <room ID>-<poll title>'''(done)'''*** poll key translated to a four digit integer (to be typed on mobile devices attached to the url of the server)'''(done)'''***: The value saved would be <room ID>-<poll title> <---> 9999'''(done)'''***: Also to create a point of reference for the four digit integer a single database entry is created in Redis as: "WebPollReferenceID" <---> 1. It will be used to fetch the next poll ID and will be added by one each time an ID is fetched. The value is recycled back to 1 when it is 9999.'''(done)'''
***: The PollService.vote method has the capability to record votes from the web just as easily as from the client