|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.tutorial.rawserialization.DistTutorial
public class DistTutorial
This tutorial shows how to use FreePastry 2.0's raw serialization (instead of Java Serialization).
| Constructor Summary | |
|---|---|
DistTutorial(int bindport,
java.net.InetSocketAddress bootaddress,
int numNodes,
Environment env)
This constructor launches numNodes PastryNodes. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Usage: java [-cp FreePastry- |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DistTutorial(int bindport,
java.net.InetSocketAddress bootaddress,
int numNodes,
Environment env)
throws java.lang.Exception
bindport - the local port to bind tobootaddress - the IP:port of the node to boot fromnumNodes - the number of nodes to create in this JVMenv - the environment for these nodes
java.lang.Exception| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||