com.foxsmart.csu.config
Class TosEnum

java.lang.Object
  extended by com.foxsmart.ic.lang.Enum
      extended by com.foxsmart.csu.config.TosEnum
All Implemented Interfaces:
java.io.Serializable

public class TosEnum
extends Enum

The TosEnum class represents the router type of service for pattern matching.

See Also:
Serialized Form

Field Summary
static TosEnum MAX_RELIABILITY
          Value: 8, Name: max-reliability, Short Description: Match packets with min delay TOS.
static TosEnum MAX_THROUGHPUT
          Value: 1, Name: max-throughput, Short Description: Match packets with min monetary cost TOS.
static TosEnum MIN_DELAY
          Value: 0, Name: min-delay, Short Description: Match packets with normal TOS.
static TosEnum MIN_MONETARY_COST
          Value: 4, Name: min-monetary-cost, Short Description: Match packets with max throughput TOS.
static TosEnum NORMAL
          Value: 2, Name: normal, Short Description: Match packets with max reliable TOS.
 
Fields inherited from class com.foxsmart.ic.lang.Enum
enumMap, value
 
Constructor Summary
protected TosEnum(EnumEntry enumEntry)
           
  TosEnum(java.lang.Integer value)
           
  TosEnum(java.lang.String name)
           
 
Method Summary
static java.lang.Comparable getMaxValue()
          Maximum value of 15.
static java.lang.Comparable getMinValue()
          Minimum value of 0.
 
Methods inherited from class com.foxsmart.ic.lang.Enum
createEntry, equals, getEntry, getEntry, getEntry, getEnumClass, getLongDescription, getLongDescription, getName, getName, getName, getShortDescription, getShortDescription, getValue, getValue, getValue, hasEntry, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MIN_DELAY

public static final TosEnum MIN_DELAY
Value: 0, Name: min-delay, Short Description: Match packets with normal TOS.


MAX_THROUGHPUT

public static final TosEnum MAX_THROUGHPUT
Value: 1, Name: max-throughput, Short Description: Match packets with min monetary cost TOS.


NORMAL

public static final TosEnum NORMAL
Value: 2, Name: normal, Short Description: Match packets with max reliable TOS.


MIN_MONETARY_COST

public static final TosEnum MIN_MONETARY_COST
Value: 4, Name: min-monetary-cost, Short Description: Match packets with max throughput TOS.


MAX_RELIABILITY

public static final TosEnum MAX_RELIABILITY
Value: 8, Name: max-reliability, Short Description: Match packets with min delay TOS.

Constructor Detail

TosEnum

protected TosEnum(EnumEntry enumEntry)

TosEnum

public TosEnum(java.lang.String name)
        throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

TosEnum

public TosEnum(java.lang.Integer value)
        throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException
Method Detail

getMinValue

public static java.lang.Comparable getMinValue()
Minimum value of 0.

Returns:
0.

getMaxValue

public static java.lang.Comparable getMaxValue()
Maximum value of 15.

Returns:
15.


Copyright © 2005-2008 Fox Smart, Inc. All Rights Reserved.