示例#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;
 }
示例#2
0
文件: Manager.cs 项目: MrJoe/lat
#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;
        }