Class: EZMQ::Puller
Overview
Pull socket that receives messages but does not send them. Pullers can
connect to multiple Pushers, and will fair-queue messages from available
sources.
Instance Attribute Summary
Attributes inherited from Socket
#context, #decode, #encode, #socket
Instance Method Summary (collapse)
-
- (Puller) initialize(mode = :bind, **options)
constructor
Creates a new Puller socket.
Methods inherited from Socket
#connect, #listen, #receive, #send
Constructor Details
- (Puller) initialize(mode = :bind, **options)
Creates a new Puller socket.
17 18 19 |
# File 'lib/ezmq/pull.rb', line 17 def initialize(mode = :bind, **) super mode, ZMQ::PULL, end |