资 源 简 介
Active Object
This is a simple example of the Active Object concurrency pattern. Example code is provided in both Ruby and Java.
See http://en.wikipedia.org/wiki/Active_Object
This is intended to be used in my talk on Active Object at the Melbourne Patterns group
http://melbournepatterns.org/
The example is a contrived one of a domain name reseller selling .com, .com.au, and .co.nz domain names
with the restriction that the respective domain name registries (or registrars) only allowing one
connection at a time from the reseller.
Note that I assume a really simple FIFO scheduler and so do not supply a queue iterator on the Activation Queue,
instead I just supply a dequeue method to take the first item off the queue, blocking if the queue is empty.
Directory structure:
examples: contains example usage in ruby of the classes defined in the other directories.
classic: contains ruby clas