andrewvc/em-zeromq — Issue #14: api changes / refactoring
Author: deepfryed
Created: 2012-02-20 21:45:20+00:00
State: open

just some ideas off the top of my head for discussion

1. Replace ffi-rzmq with officially supported zmq
2. Define façades for ZMQ::Context, ZMQ::Socket
3. EM::ZeroMQ::Connection should inherit from EM::Connection - this is less confusing to regular eventmachine users
4. Each class should only be responsible for one thing only, akin to the single responsibility principle

@schmurfy what do you think ?

Do have a look at my hack and see if it makes sense, it would serve to explain my expectations above.