Module: EventMachine::Udns::Watcher

Defined in:
lib/em-udns.rb

Instance Method Summary collapse

Instance Method Details

#initialize(resolver) ⇒ Object



12
13
14
# File 'lib/em-udns.rb', line 12

def initialize(resolver)
  @resolver = resolver
end

#notify_readableObject



16
17
18
# File 'lib/em-udns.rb', line 16

def notify_readable
  @resolver.ioevent
end