|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mpisws.p2p.testing.transportlayer.TLTest<Identifier>
public abstract class TLTest<Identifier>
Constructor Summary | |
---|---|
TLTest()
|
Method Summary | |
---|---|
abstract Identifier |
getBogusIdentifier(Identifier local)
The identifer to a bogus node. |
Identifier |
getIdentifier(TransportLayer<Identifier,java.nio.ByteBuffer> a,
TransportLayer<Identifier,java.nio.ByteBuffer> b)
A's view of b |
void |
messageTooBigUDP()
Sends huge udp message from alice to bob, should fail. |
void |
noCallbackTest()
|
void |
openTCP()
3 parts: - Alice opens a TCP socket to Bob - Alice sends to Bob - Alice closes the Socket |
void |
sendUDP()
Sends udp message from alice to bob. |
static void |
setUpBeforeClass()
|
static void |
tearDownAfterClass()
|
void |
testSocketThreadSafety()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TLTest()
Method Detail |
---|
public static void setUpBeforeClass() throws java.lang.Exception
java.lang.Exception
public static void tearDownAfterClass() throws java.lang.Exception
java.lang.Exception
public Identifier getIdentifier(TransportLayer<Identifier,java.nio.ByteBuffer> a, TransportLayer<Identifier,java.nio.ByteBuffer> b)
a
- b
-
public abstract Identifier getBogusIdentifier(Identifier local) throws java.io.IOException
java.io.IOException
public void openTCP() throws java.lang.Exception
java.lang.Exception
public void testSocketThreadSafety()
public void sendUDP() throws java.lang.Exception
java.lang.Exception
public void messageTooBigUDP() throws java.lang.Exception
java.lang.Exception
public void noCallbackTest() throws java.lang.Exception
java.lang.Exception
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |