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)
-
- (Pusher) initialize(mode = :connect, **options)
constructor
Creates a new Pusher socket.
Methods inherited from Socket
#connect, #listen, #receive, #send
Constructor Details
- (Pusher) initialize(mode = :connect, **options)
Creates a new Pusher socket.
17 18 19 |
# File 'lib/ezmq/push.rb', line 17 def initialize(mode = :connect, **) super mode, ZMQ::PUSH, end |