All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.antsr.core.ANEPDemultiplexKey
java.lang.Object
   |
   +----edu.utah.janos.nodeos.DemultiplexKey
           |
           +----edu.utah.janos.antsr.core.ANEPDemultiplexKey

  Summary

class  ANEPDemultiplexKey
     extends edu.utah.janos.nodeos.DemultiplexKey
{
          // Fields 2
     private final byte byte1;
     private final byte byte2;

          // Constructors 1
     ANEPDemultiplexKey(int, short);

          // Methods 3
     public boolean equals(Object);
     public int matches(byte[], int, int);
     public String toString();
}

Match ANEP packets with the specified TypeID.

XXX should check version, etc.


  Cross Reference

Extended By:
ANTSRDemultiplexKey





  Fields

· byte1

Summary  |  Top
   private final byte byte1


· byte2

Summary  |  Top
   private final byte byte2


  Constructors

· ANEPDemultiplexKey

Summary  |  Top

   ANEPDemultiplexKey(int additionalLen, 
                      short protocolID) 


  Methods

· matches

Summary  |  Top
   public int matches(byte[] buf, 
                      int packetOffset, 
                      int packetLength) 
Overrides:
matches in class DemultiplexKey


· toString

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


· equals

Summary  |  Top
   public boolean equals(Object obj) 

Compare the length and the two bytes we care about in the header

Overrides:
equals 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