Exemplo n.º 1
0
        private void ClarifyDisconnected(PengSW.TcpService.Connection aConnection)
        {
            DisconnectedDelegate aTempEvent = Disconnected;

            if (aTempEvent != null)
            {
                aTempEvent(this, aConnection);
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// 删除指定的连接
 /// </summary>
 /// <param name="aConnection"></param>
 public void RemoveConnection(PengSW.TcpService.Connection aConnection)
 {
     m_Connections.Remove(aConnection);
 }