private void feedServer(Object o) { while (bWorkThread == 0) { mClient.feedServer(); Thread.Sleep(10 * 1000); } }
private void feedServer(Object o) { while (bWorkThread == 0) { try { mClient.feedServer(); } catch (Exception e) { break; } Thread.Sleep(5 * 1000); } }