示例#1
0
 public Server localServer(String name) throws InterruptedException {
   return (Server) this.serviceContainer.getService(Services.server(name, false)).awaitValue();
 }
示例#2
0
 public Server networkServer(String name) throws InterruptedException {
   return (Server) this.serviceContainer.getService(Services.server(name, true)).awaitValue();
 }