for (int i = 0; i <= MAX_N; i++) {
RandomAccessBucket data = randomData(node);
HighLevelSimpleClient client = node.clientCore.makeClient((short) 0, false, false);
FreenetURI uri = new FreenetURI("KSK@" + uid + "-" + dateFormat.format(today.getTime()) + "-" + i);
System.out.println("PUSHING " + uri);
client.addEventHook(new ClientEventListener() {
@Override
public void receive(ClientEvent ce, ClientContext context) {
System.out.println(ce.getDescription());
}