myrobotlab
myrobotlab copied to clipboard
Make Random service take a list of RandomMessages in the config instead of a hash map.
What ? - I suspect this should be closed. What would be the point of a list ?
My concern was that the key is used as the name of the service for the target of the random message. This means, that you can only invoke one method on a given service with this. If the randomData member in Random.java was a list instead, this limitation would not exist.
yep .. heh already ran into this problem :) My preference is that it stays a string key though, and is left to the consumer to provide a unique description