}
}
private static void exampleSendOne(PeerDHT peer) {
RequestP2PConfiguration requestP2PConfiguration = new RequestP2PConfiguration(1, 10, 0);
FutureSend futureSend = peer.send(Number160.createHash("key")).object("hello")
.requestP2PConfiguration(requestP2PConfiguration).start();
futureSend.awaitUninterruptibly();
for (Object object : futureSend.rawDirectData2().values()) {
System.err.println("got:" + object);
}
}