Rice Pastry API

org.mpisws.p2p.testing.transportlayer
Class LivenessTest

java.lang.Object
  extended by org.mpisws.p2p.testing.transportlayer.TLTest<SourceRoute<MultiInetSocketAddress>>
      extended by org.mpisws.p2p.testing.transportlayer.SRTest
          extended by org.mpisws.p2p.testing.transportlayer.LivenessTest

public class LivenessTest
extends SRTest


Field Summary
 
Fields inherited from class org.mpisws.p2p.testing.transportlayer.SRTest
GOOD_HDR
 
Constructor Summary
LivenessTest()
           
 
Method Summary
static int getDelay(SourceRoute a, SourceRoute b)
           
 SourceRoute<MultiInetSocketAddress> getIdentifier(TransportLayer<SourceRoute<MultiInetSocketAddress>,java.nio.ByteBuffer> a, TransportLayer<SourceRoute<MultiInetSocketAddress>,java.nio.ByteBuffer> b)
          A's view of b
static void setUpBeforeClass()
           
 void testLiveness()
           
 void testProximity()
           
 
Methods inherited from class org.mpisws.p2p.testing.transportlayer.SRTest
getBogusIdentifier, openTCP, sendUDP
 
Methods inherited from class org.mpisws.p2p.testing.transportlayer.TLTest
messageTooBigUDP, noCallbackTest, tearDownAfterClass, testSocketThreadSafety
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LivenessTest

public LivenessTest()
Method Detail

getIdentifier

public SourceRoute<MultiInetSocketAddress> getIdentifier(TransportLayer<SourceRoute<MultiInetSocketAddress>,java.nio.ByteBuffer> a,
                                                         TransportLayer<SourceRoute<MultiInetSocketAddress>,java.nio.ByteBuffer> b)
Description copied from class: TLTest
A's view of b

Overrides:
getIdentifier in class SRTest
Returns:
A's view of b

setUpBeforeClass

public static void setUpBeforeClass()
                             throws java.lang.Exception
Throws:
java.lang.Exception

getDelay

public static int getDelay(SourceRoute a,
                           SourceRoute b)

testProximity

public void testProximity()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testLiveness

public void testLiveness()
                  throws java.lang.Exception
Throws:
java.lang.Exception

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection