net.tomp2p.examples
Class ExampleUtils
java.lang.Object
net.tomp2p.examples.ExampleUtils
public class ExampleUtils
- extends Object
This simple example creates 10 nodes, bootstraps to the first and put and get
data from those 10 nodes.
- Author:
- draft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExampleUtils
public ExampleUtils()
bootstrap
public static void bootstrap(Peer[] peers)
createAndAttachNodes
public static Peer[] createAndAttachNodes(int nr,
int port)
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.