From: squidster@... (Squidster) Date: 2003-06-10T19:04:04+09:00 Subject: Iterators within Madeleine I'm currently stumped in how to implement iterators within the confines on a Madeleine environment. It's very easy to just expose the entire instance with all its variables; but I want to build an "each" to be run via the "execute_command" method in Madeleine. Is this possible? A scenario using the dictionary server sample program would be: To access the key/value pairs iterative via "each" within the confines of full concurrency protection. Therefore, at the client, I should be able to do: dictionary.each { |key,val| print "key=#{key}, val=#{val}\n" # read access dictionary[key] = val + "foobar" # write access } On top of that I should be able to do the above with multiple clients. Is the above feasible or am I dreaming??... :-}