All Packages  This Package  Class Hierarchy  Class Search  Index

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

  Summary

class  CodeRequestDemultiplexKey
     extends edu.utah.janos.antsr.core.ANTSRDemultiplexKey
{
          // Fields 2
     private final byte[] mid2Bytes;
     private static final int mid2Skip;

          // Constructors 1
     CodeRequestDemultiplexKey(byte[], byte[]);

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

Match ANTSR packets for a specific ANTSR protocol plus an additional MID after the standard ANTSR header. Used to match MIDIDRequest, DLRequest, and DLResponse capsules.




  Fields

· mid2Bytes

Summary  |  Top

   private final byte[] mid2Bytes


· mid2Skip

Summary  |  Top
   private static final int mid2Skip


  Constructors

· CodeRequestDemultiplexKey

Summary  |  Top

   CodeRequestDemultiplexKey(byte[] mid1Bytes, 
                             byte[] mid2Bytes) 


  Methods

· matches

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


· whereDoesTheCapsuleDecodingActuallyStart

Summary  |  Top
   public int whereDoesTheCapsuleDecodingActuallyStart(int payloadStart) 
Overrides:
whereDoesTheCapsuleDecodingActuallyStart in class ANTSRDemultiplexKey


· toString

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


· equals

Summary  |  Top
   public boolean equals(Object obj) 

Tests if the super class says they're equal and then compares they're MID2's

Overrides:
equals in class ANTSRDemultiplexKey


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