All Packages  This Package  Class Hierarchy  Class Search  Index

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

  Summary

class  ANTSRDemultiplexKey
     extends edu.utah.janos.antsr.core.ANEPDemultiplexKey
{
          // Fields 1
     private final byte[] midBytes;

          // Constructors 2
     ANTSRDemultiplexKey(byte[]);
     ANTSRDemultiplexKey(TypeID);

          // 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.


  Cross Reference

Extended By:
CodeRequestDemultiplexKey





  Fields

· midBytes

Summary  |  Top
   private final byte[] midBytes


  Constructors

· ANTSRDemultiplexKey

Summary  |  Top

   ANTSRDemultiplexKey(TypeID mid) 


· ANTSRDemultiplexKey

Summary  |  Top
   ANTSRDemultiplexKey(byte[] midBytes) 


  Methods

· matches

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


· whereDoesTheCapsuleDecodingActuallyStart

Summary  |  Top
   public int whereDoesTheCapsuleDecodingActuallyStart(int payloadStart) 

Really only useful for subclasses....



· toString

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


· equals

Summary  |  Top
   public boolean equals(Object obj) 

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

Overrides:
equals in class ANEPDemultiplexKey


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