All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.nodeos.OutChannel
java.lang.Object
   |
   +----edu.utah.janos.nodeos.ProtocolLayer.PacketGenerator
           |
           +----edu.utah.janos.nodeos.OutChannel

  Summary

public final class  OutChannel
     extends edu.utah.janos.nodeos.ProtocolLayer.PacketGenerator
{
          // Fields 5
     private ProtocolLayer.PacketBuffer bufferQ;
     private final Object bufferQLock;
     final Flow flow;
     final OffsetLength ol;
     ProtocolLayer protocolLayer;

          // Constructors 1
     public OutChannel(Flow, String, String) throws IOException, ProtocolLayer.PacketAddressFormatException, ProtocolSpec.FormatException;

          // Methods 6
     void destroy();
     public ProtocolLayer.PacketBuffer generate();
     public void queuePacket(ProtocolLayer.PacketBuffer);
     public void send(BufferHandle);
     public void sendv(BufferHandle);
     public String toString();
}

Java wrapper for a Channel.

See Also: CutThroughChannel, InChannel


  Cross Reference

Returned By:
UdpTest.makeOutChannel()





  Fields

· bufferQLock

Summary  |  Top
   private final Object bufferQLock

Queue of buffers to be sent out.


· bufferQ

Summary  |  Top
   private ProtocolLayer.PacketBuffer bufferQ


· flow

Summary  |  Top
   final Flow flow


· ol

Summary  |  Top
   final OffsetLength ol


· protocolLayer

Summary  |  Top
   ProtocolLayer protocolLayer


  Constructors

· OutChannel

Summary  |  Top

   public OutChannel(Flow flow, 
                     String protocolSpec, 
                     String addressSpec)  throws IOException, ProtocolLayer.PacketAddressFormatException, ProtocolSpec.FormatException


  Methods

· generate

Summary  |  Top
   public ProtocolLayer.PacketBuffer generate() 

Packet generator function defined by ProtocolLayer.PacketGenerator.

Overrides:
generate in class ProtocolLayer.PacketGenerator


· queuePacket

Summary  |  Top
   public void queuePacket(ProtocolLayer.PacketBuffer pb) 

Queue a packet for sending



· send

Summary  |  Top
   public void send(BufferHandle bh) 

Send a single buffer handle.



· sendv

Summary  |  Top
   public void sendv(BufferHandle bh) 

Send an array of buffer handles.



· destroy

Summary  |  Top
   void destroy() 


· toString

Summary  |  Top
   public String toString() 
Overrides:
toString in class ProtocolLayer.PacketGenerator


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7