Class DBus::RemoteService
In: lib/dbus.rb
Parent: Object

A remote service providing objects.

A service is typically a process or application that provides remote objects, but can also be the broadcast service that receives signals from all applications on the Bus.

Methods

Public Class methods

[Source]

     # File lib/dbus.rb, line 356
356:     def initialize(bus, service_name)
357:       @bus = bus
358:       @service_name = service_name
359:     end

Public Instance methods

Bus associated with this service

[Source]

     # File lib/dbus.rb, line 362
362:     def get_bus
363:       @bus
364:     end

Creates an object for the specified object_path

[Source]

     # File lib/dbus.rb, line 372
372:     def get_object(object_path, interface)
373:       RemoteObject.new(self, object_path, interface)
374:     end

The service name

[Source]

     # File lib/dbus.rb, line 367
367:     def get_service_name
368:       @service_name
369:     end

[Validate]