Rice Pastry API

rice.pastry.testing
Class HelloWorld

java.lang.Object
  extended by rice.pastry.testing.HelloWorld

public class HelloWorld
extends java.lang.Object

A hello world example for pastry. This is the "direct" driver.

Version:
$Id: HelloWorld.java 4654 2009-01-08 16:33:07Z jeffh $
Author:
Sitaram Iyer

Constructor Summary
HelloWorld(Environment env)
          Constructor
 
Method Summary
static void main(java.lang.String[] args)
          Usage: HelloWorld [-msgs m] [-nodes n] [-verbose|-silent|-verbosity v] [-simultaneous_joins] [-simultaneous_msgs] [-help]
 void makePastryNode(int num)
          Create a Pastry node and add it to pastryNodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelloWorld

public HelloWorld(Environment env)
Constructor

Method Detail

makePastryNode

public void makePastryNode(int num)
Create a Pastry node and add it to pastryNodes. Also create a client application for this node.


main

public static void main(java.lang.String[] args)
Usage: HelloWorld [-msgs m] [-nodes n] [-verbose|-silent|-verbosity v] [-simultaneous_joins] [-simultaneous_msgs] [-help]


Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection