示例#1
0
        public bool Stop()
        {
            uint timer = Log.InformationTimerStart("Stopping DBusService");

            DBusProxyFactory.EmitRemoteDown();

            Log.DebugTimerPrint(timer, "DBusService stop took {0}");
            return(true);
        }
示例#2
0
        public bool Start()
        {
            uint timer = Log.InformationTimerStart("Starting DBusService");

            try {
                DBusProxyFactory.Load(Core.Database);
            } catch {
                Log.Warning("unable init DBus service");
            }
            Log.DebugTimerPrint(timer, "DBusService startup took {0}");
            return(true);
        }