Module: ZMQMachine::Server::SUB

Includes:
Base
Included in:
LogServer
Defined in:
lib/zm/server/sub.rb

Instance Method Summary collapse

Methods included from Base

#on_attach, #on_readable, #on_readable_error, #on_writable, #on_writable_error, #shutdown

Instance Method Details

#initialize(configuration) ⇒ Object



9
10
11
12
# File 'lib/zm/server/sub.rb', line 9

def initialize configuration
  @topic = configuration.topic || ''
  super
end

#write(messages) ⇒ Object



14
15
16
17
# File 'lib/zm/server/sub.rb', line 14

def write messages
  # no op
  close messages
end