org.apache.directory.server.dns.messages
Class ProtocolType

java.lang.Object
  extended by org.apache.directory.server.dns.messages.ProtocolType
All Implemented Interfaces:
java.lang.Comparable

public final class ProtocolType
extends java.lang.Object
implements java.lang.Comparable


Field Summary
static ProtocolType ARGUS
           
static ProtocolType BBN_RCC_MON
           
static ProtocolType BR_SAT_MON
           
static ProtocolType CFTP
           
static ProtocolType CHAOS
           
static ProtocolType DCN_MEAS
           
static ProtocolType EGP
           
static ProtocolType EMCON
           
static ProtocolType GGP
           
static ProtocolType HMP
           
static ProtocolType ICMP
           
static ProtocolType IGMP
           
static ProtocolType IGP
           
static ProtocolType IPCV
           
static ProtocolType IPPC
           
static ProtocolType IRTP
           
static ProtocolType ISO_TP4
           
static ProtocolType LEAF_1
           
static ProtocolType LEAF_2
           
static ProtocolType MERIT_INP
           
static ProtocolType MFE_NSP
           
static ProtocolType MIT_SUBNET
           
static ProtocolType MUX
           
static ProtocolType NETBLT
           
static ProtocolType NULL
          Enumeration elements are constructed once upon class loading.
static ProtocolType NVP_II
           
static ProtocolType PRM
           
static ProtocolType PUP
           
static ProtocolType RDP
           
static ProtocolType RVD
           
static ProtocolType SAT_EXPAK
           
static ProtocolType SAT_MON
           
static ProtocolType SEP
           
static ProtocolType ST
           
static ProtocolType TCP
           
static ProtocolType TRUNK_1
           
static ProtocolType TRUNK_2
           
static ProtocolType UCL
           
static ProtocolType UDP
           
static java.util.List VALUES
           
static ProtocolType WB_EXPAK
           
static ProtocolType WB_MON
           
static ProtocolType XNET
           
static ProtocolType XNS_IDP
           
 
Method Summary
 int compareTo(java.lang.Object that)
           
 int getOrdinal()
           
static ProtocolType getTypeByOrdinal(int type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL

public static final ProtocolType NULL
Enumeration elements are constructed once upon class loading. Order of appearance here determines the order of compareTo.


ICMP

public static final ProtocolType ICMP

IGMP

public static final ProtocolType IGMP

GGP

public static final ProtocolType GGP

ST

public static final ProtocolType ST

TCP

public static final ProtocolType TCP

UCL

public static final ProtocolType UCL

EGP

public static final ProtocolType EGP

IGP

public static final ProtocolType IGP

BBN_RCC_MON

public static final ProtocolType BBN_RCC_MON

NVP_II

public static final ProtocolType NVP_II

PUP

public static final ProtocolType PUP

ARGUS

public static final ProtocolType ARGUS

EMCON

public static final ProtocolType EMCON

XNET

public static final ProtocolType XNET

CHAOS

public static final ProtocolType CHAOS

UDP

public static final ProtocolType UDP

MUX

public static final ProtocolType MUX

DCN_MEAS

public static final ProtocolType DCN_MEAS

HMP

public static final ProtocolType HMP

PRM

public static final ProtocolType PRM

XNS_IDP

public static final ProtocolType XNS_IDP

TRUNK_1

public static final ProtocolType TRUNK_1

TRUNK_2

public static final ProtocolType TRUNK_2

LEAF_1

public static final ProtocolType LEAF_1

LEAF_2

public static final ProtocolType LEAF_2

RDP

public static final ProtocolType RDP

IRTP

public static final ProtocolType IRTP

ISO_TP4

public static final ProtocolType ISO_TP4

NETBLT

public static final ProtocolType NETBLT

MFE_NSP

public static final ProtocolType MFE_NSP

MERIT_INP

public static final ProtocolType MERIT_INP

SEP

public static final ProtocolType SEP

CFTP

public static final ProtocolType CFTP

SAT_EXPAK

public static final ProtocolType SAT_EXPAK

MIT_SUBNET

public static final ProtocolType MIT_SUBNET

RVD

public static final ProtocolType RVD

IPPC

public static final ProtocolType IPPC

SAT_MON

public static final ProtocolType SAT_MON

IPCV

public static final ProtocolType IPCV

BR_SAT_MON

public static final ProtocolType BR_SAT_MON

WB_MON

public static final ProtocolType WB_MON

WB_EXPAK

public static final ProtocolType WB_EXPAK

VALUES

public static final java.util.List VALUES
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(java.lang.Object that)
Specified by:
compareTo in interface java.lang.Comparable

getTypeByOrdinal

public static ProtocolType getTypeByOrdinal(int type)

getOrdinal

public int getOrdinal()