All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.nodeos.CutThroughChannel
java.lang.Object
   |
   +----edu.utah.janos.nodeos.CutThroughChannel

  Summary

public final class  CutThroughChannel
     extends java.lang.Object
{
          // Fields 2
     private final InChannel inFrom;
     private final OutChannel outTo;

          // Constructors 1
     public CutThroughChannel(Flow, DemultiplexKey, String, String, String, String, ThreadPool, Address) throws IOException, ProtocolLayer.PacketAddressFormatException, ProtocolSpec.FormatException;

          // Methods 3
     public void addBuffer(ProtocolLayer.PacketBuffer);
     void destroy();
     public ProtocolLayer.PacketBuffer remBuffer();
}

Java wrapper for a CutThroughChannel.

Implemented on top of UDP for the moment.

Author:
Janos Ministry of Development

See Also: InChannel, OutChannel




  Fields

· outTo

Summary  |  Top

   private final OutChannel outTo

The OutChan this CutThrough forwards to.


· inFrom

Summary  |  Top
   private final InChannel inFrom

The InChan this CutThrough receives from.


  Constructors

· CutThroughChannel

Summary  |  Top

   public CutThroughChannel(Flow flow, 
                            DemultiplexKey classifier, 
                            String inProtocolSpec, 
                            String outProtocolSpec, 
                            String inAddressSpec, 
                            String outAddressSpec, 
                            ThreadPool threadPool, 
                            Address destAddr)  throws IOException, ProtocolLayer.PacketAddressFormatException, ProtocolSpec.FormatException


  Methods

· addBuffer

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

Add a buffer to the channel



· remBuffer

Summary  |  Top
   public ProtocolLayer.PacketBuffer remBuffer() 

Remove a buffer from the channel



· destroy

Summary  |  Top
   void destroy() 


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