All Packages  This Package  Class Hierarchy  Class Search  Index

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

  Summary

final class  UnknownPacketHandler
     extends java.lang.Object
     implements edu.utah.janos.nodeos.DeliverFunc
{
          // Fields 4
     private static final float RANDOM_DUPMIDREQ_FRACTION;
     private final DemultiplexKey classifier;
     private final Node node;
     private final Random random;

          // Constructors 2
     UnknownPacketHandler(Node);
     UnknownPacketHandler(Node, DemultiplexKey);

          // Methods 2
     public final void receive(BufferHandle, int);
     public String toString();
}

Handle an ANTSR packet of unknown MID

Author:
Janos Ministry of Development




  Fields

· node

Summary  |  Top

   private final Node node


· classifier

Summary  |  Top
   private final DemultiplexKey classifier


· random

Summary  |  Top
   private final Random random


· RANDOM_DUPMIDREQ_FRACTION

Summary  |  Top
   private static final float RANDOM_DUPMIDREQ_FRACTION


  Constructors

· UnknownPacketHandler

Summary  |  Top

   UnknownPacketHandler(Node node) 

Create the UnknownPacketHandler. Only need one of these per node...



· UnknownPacketHandler

Summary  |  Top
   UnknownPacketHandler(Node node, 
                        DemultiplexKey classifier) 


  Methods

· receive

Summary  |  Top
   public final void receive(BufferHandle bufh, 
                             int payloadStart) 

Unknown packet handler. For ANTSR packets that don't match an installed MID.

This is the only method defined by the DeliverFunc interface.

Implements:
receive in interface DeliverFunc

See Also: DeliverFunc



· toString

Summary  |  Top
   public String toString() 
Overrides:
toString in class Object


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