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