public void Stop() { lock (sync) { if (null != overlord) { overlord.Stop(); overlord = null; } } }
public void Start() { lock (sync) { if (null == overlord) { LogManager.GetLogger("faplog").Info("Launching local overlord."); overlord = new ListenerService(container, true); overlord.Start(40); } } }
public void StartClient() { client = new ListenerService(container, false); client.Start(model.LocalNode.Port); connectionController.Start(); }