|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.socket.appsocket.testing.Tutorial
public class Tutorial
This tutorial shows how to setup a FreePastry node using the Socket Protocol.
Constructor Summary | |
---|---|
Tutorial(int bindport,
java.net.InetSocketAddress bootaddress,
Environment env)
This constructor launches numNodes PastryNodes. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
The main program for the Tutorial class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tutorial(int bindport, java.net.InetSocketAddress bootaddress, Environment env) throws java.lang.Exception
bindport
- the local port to bind tobootaddress
- the IP:port of the node to boot fromenv
- the environment for these nodes
java.lang.Exception
- DESCRIBE THE EXCEPTIONMethod Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line arguments
java.lang.Exception
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |