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