rice.pastry.testing
Class DirectPastryRegrTest

public class DirectPastryRegrTest
extends rice.pastry.testing.PastryRegrTest
PastryRegrTest a regression test suite for pastry.
Version:
$Id: DirectPastryRegrTest.java,v 1.16 2002/09/12 02:54:56 druschel Exp $
Author:
andrew ladd
peter druschel
sitaram iyer
Constructor Detail

DirectPastryRegrTest

private DirectPastryRegrTest()
constructor

Method Detail

getBootstrap

protected rice.pastry.NodeHandle getBootstrap(boolean firstNode)
Get pastryNodes.last() to bootstrap with, or return null.

registerapp

protected void registerapp(rice.pastry.PastryNode pn,
                           rice.pastry.testing.RegrTestApp app)
wire protocol specific handling of the application object e.g., RMI may launch a new thread
Parameters:
pn - pastry node
app - newly created application

simulate

protected boolean simulate()
send one simulated message

isReallyAlive

protected boolean isReallyAlive(rice.pastry.NodeId id)
get authoritative information about liveness of node.

killNode

protected void killNode(rice.pastry.PastryNode pn)
murder the node. comprehensively.

main

public static void main(java.lang.String[] args)
main. just create the object and call PastryNode's main.