class EZMQ::Puller
Pull socket that receives messages but does not send them. Pullers can
connect to multiple Pushers, and will fair-queue messages from available sources.
Public Class Methods
new(mode = :bind, **options)
click to toggle source
Creates a new Puller
socket.
@param [:bind, :connect] mode a mode for the socket. @param [Hash] options optional parameters. @see EZMQ::Socket
EZMQ::Socket
for optional parameters.
@return [Puller] a new instance of Puller
.
Calls superclass method
EZMQ::Socket::new
# File lib/ezmq/pull.rb, line 17 def initialize(mode = :bind, **options) super mode, ZMQ::PULL, options end