lib/ezmq/pull.rb in ezmq-0.3.6 vs lib/ezmq/pull.rb in ezmq-0.3.7
- old
+ new
@@ -1,9 +1,11 @@
require_relative 'socket'
# Syntactic sugar for 0MQ, because Ruby shouldn't feel like C.
module EZMQ
- # Pull socket that receives messages but does not send them.
+ # Pull socket that receives messages but does not send them. Pullers can
+ # connect to multiple Pushers, and will fair-queue messages from available
+ # sources.
class Puller < EZMQ::Socket
# Creates a new Puller socket.
#
# @param [:bind, :connect] mode a mode for the socket.
# @param [Hash] options optional parameters.