All Packages This Package Class Hierarchy Class Search Index
Class edu.utah.janos.tests.nodeos.OutChannelTester
java.lang.Object
|
+----edu.utah.janos.tests.Tester
|
+----edu.utah.janos.tests.nodeos.OutChannelTester
public class OutChannelTester
extends edu.utah.janos.tests.Tester
{
// Fields 7
private final int channels;
private final String host;
private final byte[][] messages;
private final int packets;
private int[] packetsDelivered;
private int[] packetsSent;
private final int port;
// Constructors 1
public OutChannelTester();
// Methods 3
private void generateMessages();
private void sendMessage(OutChannel, byte[]) throws Exception;
public void testUnit() throws TestFailedException;
// Inner Classes 1
private class OutChannelTester.Receiver
}
private final String host
private final int port
private final int channels
private final byte[][] messages
private final int packets
private int[] packetsSent
private int[] packetsDelivered
public OutChannelTester()
Default constructor
private void generateMessages()
Generates the messages to be sent, just a bunch of random bytes
private void sendMessage(OutChannel oc,
byte[] message) throws Exception
Send a message over the given out channel
public void testUnit() throws TestFailedException
- Overrides:
- testUnit in class Tester
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7