Method: ZMQMachine::Socket::Rep#initialize

Defined in:
lib/zm/sockets/rep.rb

#initialize(context, handler) ⇒ Rep

Returns a new instance of Rep.



44
45
46
47
48
49
# File 'lib/zm/sockets/rep.rb', line 44

def initialize context, handler
  @poll_options = ZMQ::POLLIN
  @kind = :reply

  super
end