Module: XwotDiscovery

Defined in:
lib/xwot_discovery.rb,
lib/xwot_discovery/message.rb,
lib/xwot_discovery/service.rb,
lib/xwot_discovery/version.rb,
lib/xwot_discovery/protocol.rb,
lib/xwot_discovery/resource.rb,
lib/xwot_discovery/service_listener.rb,
lib/xwot_discovery/service_protocol.rb

Defined Under Namespace

Classes: BaseListener, Message, Protocol, ServiceListener, XwotProtocol, XwotResource, XwotService, XwotServiceProtocol

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.serviceObject



16
17
18
19
20
21
22
23
24
# File 'lib/xwot_discovery.rb', line 16

def self.service
  if @service.nil?
    init
    @service.start
    @service
  else
    @service
  end
end