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 8
private final int channels;
private static final byte[] exitPacket;
private final String host;
private final byte[][] messages;
private final int packets;
private int[] packetsDelivered;
private int[] packetsSent;
private 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 int port
private final int channels
private final byte[][] messages
private final int packets
private int[] packetsSent
private int[] packetsDelivered
private static final byte[] exitPacket
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