Class: EZMQ::Pusher
Overview
Push socket that sends messages but does not receive them. It can connect to
multiple Pull sockets, and will load-balance requests to available
destinations.
Instance Attribute Summary
Attributes inherited from Socket
#context, #decode, #encode, #socket
Instance Method Summary collapse
-
#initialize(mode = :connect, **options) ⇒ Pusher
constructor
Creates a new Pusher socket.
Methods inherited from Socket
#connect, #listen, #receive, #send
Constructor Details
#initialize(mode = :connect, **options) ⇒ Pusher
Creates a new Pusher socket.
17 18 19 |
# File 'lib/ezmq/push.rb', line 17 def initialize(mode = :connect, **) super mode, ZMQ::PUSH, end |