cod is a library for really simple IPC. And inter thread communication.
And … inter everything. It puts the power of message based
communication at your fingertips.
- http://kschiess.github.com/cod/
- GitHub - kschiess/cod: Small framework to simplify process-to-process communication.
Installation:
gem install cod
Synopsis:
require 'cod'
# Open a tcp channel and communicate:
channel = Cod.tcp('localhost:1234')
channel.put ['things I wanted', 'to say']
channel.get # the answer
This version:
We’ve cleaned up our act and documented our code. The website at
http://kschiess.github.com/cod/ now gives you a good first look at the
library.
Internal documentation is in transit from rdoc to YARD. It looks a lot
better than it did 1 month ago! & As usual, this comes with a full suite
of unit and acceptance tests. If we want you to believe us, we need to
believe it ourselves first.
Have fun!
kaspar