All Packages  This Package  Class Hierarchy  Class Search  Index

Inner Class edu.utah.janos.nodeos.pj_ProtocolLayer.PacketHandler
java.lang.Object
   |
   +----edu.utah.janos.nodeos.pj_ProtocolLayer.PacketHandler

  Summary

abstract static class  pj_ProtocolLayer.PacketHandler
     extends java.lang.Object
{
          // Fields 1
     pj_ProtocolLayer.PacketAddressMask source;

          // Constructors 1
     public PacketHandler();

          // Methods 2
     abstract boolean handle(pj_BufferHandle);
     public String toString();
}

PacketHandler is an abstract class that is subclassed by the users of protocol layers to handle incoming packets.


  Cross Reference

Extended By:
pj_InChannelDispatcher

Returned By:
pj_PacketHandlerList.matchMask(), pj_PacketHandlerList.matchMask()





  Fields

· source

Summary  |  Top
   pj_ProtocolLayer.PacketAddressMask source

The source mask determines what incoming packets will be sent to the handle method.


  Constructors

· PacketHandler

Summary  |  Top

   public PacketHandler() 

Default constructor



  Methods

· handle

Summary  |  Top
   abstract boolean handle(pj_BufferHandle pb) 

The method that will handle incoming packets. Returns true if the packet was handled, false if not.



· 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