All Packages  This Package  Class Hierarchy  Class Search  Index

Class edu.utah.janos.ants.ants.CodeRequestDemultiplexKey
java.lang.Object
   |
   +----edu.utah.janos.core.DemultiplexKey
           |
           +----edu.utah.janos.ants.ants.ANEPDemultiplexKey
                   |
                   +----edu.utah.janos.ants.ants.ANTSDemultiplexKey
                           |
                           +----edu.utah.janos.ants.ants.CodeRequestDemultiplexKey

  Summary

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

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

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

Match ANTS packets for a specific ANTS protocol plus an additional MID after the standard ANTS 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 ANTSDemultiplexKey


· whereDoesTheCapsuleDecodingActuallyStart

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


· toString

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


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