Sha256: 914dd927b2447bcc7fd3e2033f64ff7eb534a6e2f090c9394ceaebfd6a572e4c
Contents?: true
Size: 261 Bytes
Versions: 2
Compression:
Stored size: 261 Bytes
Contents
java_import org.zeromq.ZMQ module ZooMQ class Handler def initialize(socket, flags=ZMQ::Poller::POLLIN) @poller = ZMQ::PollItem.new(socket, flags) end def register(zloop, opts) zloop.add_poller(@poller, self, opts) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zoomq-0.1.1 | lib/zoomq/handler.rb |
zoomq-0.1.0 | lib/zoomq/handler.rb |