Inheritance: Android.App.Service
        public DevicePingPluginService(MasterService masterService, long pingInterval)
        {
            ping_interval = pingInterval;
            master_service = masterService;

            StartPinging();
        }
        public DevicePingPluginService(MasterService masterService, long pingInterval)
        {
            ping_interval  = pingInterval;
            master_service = masterService;

            StartPinging();
        }
        public override void OnCreate()
        {
            base.OnCreate();

            local_binder = new LocalBinder(this);

            instance = this;

            plugins = new HashSet <IPluginService> {
                new DevicePingPluginService(this, PING_INTERVAL),
            };
        }
        public override void OnCreate()
        {
            base.OnCreate();

            local_binder = new LocalBinder(this);

            instance = this;

            plugins = new HashSet<IPluginService> {
                new DevicePingPluginService(this, PING_INTERVAL),
            };
        }
        public override void OnDestroy()
        {
            base.OnDestroy();

            instance = null;

            HashSet<IPluginService> localPlugins = null;
            lock (plugins) {
                localPlugins = plugins;
            }
            foreach (var plugin in localPlugins) {
                plugin.OnDestroy();
            }
        }
        public override void OnDestroy()
        {
            base.OnDestroy();

            instance = null;

            HashSet <IPluginService> localPlugins = null;

            lock (plugins) {
                localPlugins = plugins;
            }
            foreach (var plugin in localPlugins)
            {
                plugin.OnDestroy();
            }
        }
 public LocalBinder(MasterService masterService)
 {
     master_service = masterService;
 }
 public void OnDestroy()
 {
     StopPinging();
     master_service = null;
 }
 public void OnDestroy()
 {
     StopPinging();
     master_service = null;
 }
 public LocalBinder(MasterService masterService)
 {
     master_service = masterService;
 }