Rice Pastry API

rice.pastry.testing
Class HelloWorld

java.lang.Object
  extended byrice.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 2808 2005-11-22 14:38:49Z 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()
          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

Parameters:
env - DESCRIBE THE PARAMETER
Method Detail

makePastryNode

public void makePastryNode()
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]

Parameters:
args - DESCRIBE THE PARAMETER

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection