示例#1
0
        public void Remove_ShouldDeleteSpecified()
        {
            _addClients(1);

            var client = _cluster.GetSnapshot().First();

            _cluster.Remove(client);

            Assert.Empty(_cluster.GetSnapshot());
        }
 public void DestroyClient(ISocketClient socket)
 {
     _cluster.Remove(socket);
     socket.Dispose();
 }