![]() ![]() When you type a comment into the publisher window, the text is sent as a Chirp message to all followers of that user, including the first client console window, as well as being echo'ed on the publisher's window. It then listens for any new Chirps that might be sent out by the other users they follow. ![]() The ChirperClient program connects to the Chirper network as a user specified on the cmd line. It then creates the follower links between those users by calling the FollowUserId method on the appropriate user grain.įor this demo, we use a simplified network of 1,000 Users with a total of 27,000 Follower links connecting those Users, but other network data files can be created with the NetworkGenerator program, or with a normal text / XML editor. The NetworkLoader program sets up a network of ChirperAccount (aka "users") grains based on the input data file, one grain for each user defined in the network. The NetworkLoader program reads a graphml data file containing a description of a network of Users and Followers. Type a comment into the publisher client window, and see it displayed on the other client console window.Start a second Chirper client as a publisher #4.Start your local Silo from a command window using command file #1.Publishers send out short "Chirp" messages (not to be confused with "Tweets", for a variety of legal reasons! ) to any other users that are following them. A simple social network pub/sub system, with short text messages being sent between users.
0 Comments
Leave a Reply. |