// }
// };
List<PeerInfo> hosts = Lists.newArrayList();
for (int i = 0; i < 10; i++) {
hosts.add(new PeerInfo(Integer.toString(i), 100));
}
Client c = new Client(new ConnectionFactory() {
@Override
public CatcherConnection create(final PeerInfo server) throws IOException {