Class: EZMQ::Pusher
Overview
Push socket that sends messages but does not receive them.
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.
15 16 17 |
# File 'lib/ezmq/push.rb', line 15 def initialize(mode = :connect, **) super mode, ZMQ::PUSH, end |