public async Task <string> Unload(IServerNode node) { //System.Diagnostics.Debugger.Break(); await Task.Delay(100); if (m_BetCollector != null) { m_BetCollector = null; } await Task.Delay(100); return(""); }
public async Task <string> Load(IServerNode node) { //System.Diagnostics.Debugger.Break(); m_Node = node; if (m_BetCollector == null) { m_BetCollector = new BetCollector(node); } await Task.Delay(50); m_Node.GetLogger().Info(this.GetType().Name + " service started"); return(""); }