DRCL J-Sim API

drcl.inet.mac
Class MacPktClassifier

java.lang.Object
  extended bydrcl.inet.mac.MacPktClassifier
All Implemented Interfaces:
PktClassifier

public class MacPktClassifier
extends java.lang.Object
implements PktClassifier

This class defines the MAC packet classifier, used by the priority queue implementation.

Author:
Hung-Ying Tyan

Constructor Summary
MacPktClassifier()
           
 
Method Summary
 int classify(Packet p_)
          Returns the class the packet belongs to.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacPktClassifier

public MacPktClassifier()
Method Detail

classify

public int classify(Packet p_)
Description copied from interface: PktClassifier
Returns the class the packet belongs to.

Specified by:
classify in interface PktClassifier

DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~