Module: Adhoc

Defined in:
lib/adhoc.rb,
lib/adhoc/xmpp.rb,
lib/adhoc/amqp.rb,
lib/adhoc/dnssd.rb,
lib/adhoc/service.rb,
lib/adhoc/version.rb

Defined Under Namespace

Modules: AMQP, DNSSD, VERSION, XMPP Classes: Service

Class Method Summary

Class Method Details

+ (Object) discover(service, options = {}, &block)

Discovers services asynchronously.



18
19
20
# File 'lib/adhoc.rb', line 18

def self.discover(service, options = {}, &block)
  DNSSD.discover(service, options, &block)
end

+ (Object) discover!(service, options = {}, &block)

Discovers services synchronously.



12
13
14
# File 'lib/adhoc.rb', line 12

def self.discover!(service, options = {}, &block)
  DNSSD.discover!(service, options, &block)
end