public override void RemoveLink(NetworkLink link) { linkBuff[link.buffIndex].Delete(link); }
public virtual void RemoveLink(NetworkLink link) { }
///protected List<NetworkLink> /// <summary> /// recvThread 防止其它线程未操作完成,这里先存储起来,延迟释放 /// </summary> /// <param name="link"></param> public virtual void PreRecycling(NetworkLink link) { RecyclingLinks.Add(link); }
/// <summary> /// 移除某个用户连接 /// </summary> /// <param name="link"></param> public void Delete(NetworkLink link) { queue.Remove(link as T); }