associates
embed the widget
Copy the script snippet from the textarea below, and paste it anywhere - on your profile page, homepage, or even in rich-html emails.
We want to develop a real time feed for Flash clients to emulate Digg BugSpy and Stack views. The propose is to build a all in memory hash table structure that holds the string keys and respective counts and feeds that info incrementally to hundreds of clients connected to the feed server
DEtails:
- Anyone can collect this bounty
- Must be built in C#
- a) Build a class with the following methods:
Add (string Key, int Count) - It add Key to an hash table if it does not exists and puts Counts equal to Count. If it exists then increment Counts by Count
Delete (string key) - Deletes the key from the hashtable.
SendUpdateKeyToFMS ( ) This function is called when Add is called. This function informs FlashMedia Server (FMS) that a new "click" happened. On the FMS side, the necessary code must be done through sockets to receive the info.
SendDeleteKeytoFMS () - inform FMS to send a command to clients that they should remove key from visualization.
RegisterFMS ( ip, port ) - Register a FMS with a given ip, port.
UnregisterFMS (ip, port ) - Unregister the FMS.
On the FMS you'll need to do:
a) Create a sockets communication code to receive the packets.
b) Allow a flash client to register with the FMS
c) Create a broacast stream to broadcast the single event received from C# and send it to all active flash clients.
d) Having a way of pausing the feed to older clients whenever a MAXACTIVE clients value is achieved.
e) Users can reactivate the feed and for the proposes of d) is as if they just registered again.
f) Create a simple top down FIFO TagCloud visualization in the Flash Client to demo show the entire project functioning.
