Пример #1
0
 void waitForConnection() throws Exception {
   while (!isConnected()) Thread.sleep(50);
 }
Пример #2
0
 // For testing only.  Makes responder faster.
 void createSlimService(String args) throws Exception {
   while (!tryCreateSlimService(args)) Thread.sleep(10);
 }