All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.core.PacketWorker
java.lang.Object
   |
   +----edu.utah.janos.core.PacketWorker

  Summary

class  PacketWorker
     extends java.lang.Object
     implements java.lang.Runnable
{
          // Fields 6
     final BufferHandle bufferHandle;
     DeliverFunc deliverFunc;
     final Flow flow;
     PacketWorker nextFree;
     int payloadStart;
     final WorkItem workItem;

          // Constructors 1
     PacketWorker(Flow);

          // Methods 4
     private static void addToFreeList(FlowState, PacketWorker);
     static PacketWorker getFree(Flow);
     static void init(Flow);

     public void run();
}

Used by Channel.

XXX could this be a subclass of WorkItem?


  Cross Reference

Returned By:
PacketWorker.getFree()





  Fields

· flow

Summary  |  Top
   final Flow flow


· nextFree

Summary  |  Top
   PacketWorker nextFree


· workItem

Summary  |  Top
   final WorkItem workItem


· bufferHandle

Summary  |  Top
   final BufferHandle bufferHandle


· payloadStart

Summary  |  Top
   int payloadStart


· deliverFunc

Summary  |  Top
   DeliverFunc deliverFunc


  Constructors

· PacketWorker

Summary  |  Top

   PacketWorker(Flow flow) 


  Methods

· init

Summary  |  Top
   static void init(Flow flow) 


· getFree

Summary  |  Top
   static PacketWorker getFree(Flow flow) 


· run

Summary  |  Top
   public void run() 
Implements:
run in interface Runnable


· addToFreeList

Summary  |  Top
   private static void addToFreeList(FlowState state, 
                                     PacketWorker p) 


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