All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.nodeos.PacketWorker
java.lang.Object
   |
   +----edu.utah.janos.nodeos.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 void addWorkers(Flow, int);
     static PacketWorker getFree(Flow);

     public void run();
}

Used by Channel.

XXX could this be a subclass of WorkItem?

Author:
Janos Ministry of Development


  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

· addWorkers

Summary  |  Top
   static void addWorkers(Flow flow, 
                          int count) 


· 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