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

  Summary

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
}




  Fields

· host

Summary  |  Top

   private final String host


· port

Summary  |  Top
   private final int port


· channels

Summary  |  Top
   private final int channels


· messages

Summary  |  Top
   private final byte[][] messages


· packets

Summary  |  Top
   private final int packets


· packetsSent

Summary  |  Top
   private int[] packetsSent


· packetsDelivered

Summary  |  Top
   private int[] packetsDelivered


  Constructors

· OutChannelTester

Summary  |  Top

   public OutChannelTester() 

Default constructor



  Methods

· generateMessages

Summary  |  Top
   private void generateMessages() 

Generates the messages to be sent, just a bunch of random bytes



· sendMessage

Summary  |  Top
   private void sendMessage(OutChannel oc, 
                            byte[] message)  throws Exception

Send a message over the given out channel



· testUnit

Summary  |  Top
   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