org.mpisws.p2p.testing.transportlayer.replay
Class Replayer
java.lang.Object
org.mpisws.p2p.testing.transportlayer.replay.Replayer
- All Implemented Interfaces:
- MyEvents, EventCallback
public class Replayer
- extends java.lang.Object
- implements MyEvents, EventCallback
Constructor Summary |
Replayer(Id id,
java.net.InetSocketAddress addr,
java.net.InetSocketAddress bootaddress,
long startTime,
long randSeed)
|
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
printLog(java.lang.String arg,
Environment env)
|
void |
replayEvent(short type,
InputBuffer entry)
|
static void |
replayNode(Id id,
java.net.InetSocketAddress addr,
java.net.InetSocketAddress bootaddress,
long startTime,
long randSeed)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Replayer
public Replayer(Id id,
java.net.InetSocketAddress addr,
java.net.InetSocketAddress bootaddress,
long startTime,
long randSeed)
throws java.lang.Exception
- Throws:
java.lang.Exception
replayNode
public static void replayNode(Id id,
java.net.InetSocketAddress addr,
java.net.InetSocketAddress bootaddress,
long startTime,
long randSeed)
throws java.lang.Exception
- Throws:
java.lang.Exception
printLog
public static void printLog(java.lang.String arg,
Environment env)
throws java.io.IOException
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Parameters:
args
-
- Throws:
java.lang.Exception
replayEvent
public void replayEvent(short type,
InputBuffer entry)
- Specified by:
replayEvent
in interface EventCallback
Copyright © 2001-2005 - Rice Pastry.