Exemple #1
0
 public Manager()
 {
     dbus_connection = Bus.GetSystemBus();
     dbus_service = Service.Get(dbus_connection, INTERFACE_NAME);
     manager = (ManagerProxy)dbus_service.GetObject(typeof(ManagerProxy), PATH_NAME);
     dbus_service.SignalCalled += OnSignalCalled;
 }
Exemple #2
0
#pragma warning restore 0067

        public Manager()
        {
            dbus_connection = Bus.GetSystemBus();
            dbus_service    = Service.Get(dbus_connection, INTERFACE_NAME);
            manager         = (ManagerProxy)dbus_service.GetObject(typeof(ManagerProxy), PATH_NAME);

            dbus_service.SignalCalled += OnSignalCalled;
        }