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

java.lang.Object
  extended by java.lang.Enum<ProtocolType>
      extended by org.apache.directory.server.dns.messages.ProtocolType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProtocolType>, EnumConverter<java.lang.Byte>

public enum ProtocolType
extends java.lang.Enum<ProtocolType>
implements EnumConverter<java.lang.Byte>

Version:
$Rev: 547524 $, $Date: 2007-06-15 06:42:26 +0200 (Fri, 15 Jun 2007) $
Author:
Apache Directory Project

Enum Constant Summary
ARGUS
          ARGUS
BBN_RCC_MON
          BBN RCC Monitoring
BR_SAT_MON
          Backroom SETNET Monitoring
CFTP
          CFTP
CHAOS
          Chaos
DCN_MEAS
          DCN Measurement Subsystems
EGP
          Exterior Gateway Protocol
EMCON
          EMCON
GGP
          Gateway-to-Gateway
HMP
          Host Monitoring
ICMP
          Internet Conrol Message
IGMP
          Internet Group Management
IGP
          any private interior gateway
IPCV
          Internet Packet Core Utility
IPPC
          Internet Pluribus Packet Core
IRTP
          Internet Reliable Transaction
ISO_TP4
          ISO Transport Protocol Class 4
LEAF_1
          Leaf-1
LEAF_2
          Leaf-2
MERIT_INP
          MERIT Internodal Protocol
MFE_NSP
          MFE Network Services Protocol
MIT_SUBNET
          MIT Subnet Support
MUX
          Multiplexing
NETBLT
          Bulk Data Transfer Protocol
NULL
          Null
NVP_II
          Network Voice Protocol
PRM
          Packet Radio Measurement
PUP
          PUP
RDP
          Reliable Data Protocol
RVD
          MIT Remote Virtual Disk Protocol
SAT_EXPAK
          SATNET and Backroom EXPAK
SAT_MON
          SATNET Monitoring
SEP
          Sequential Exchange Protocol
ST
          Stream
TCP
          Transmission control
TRUNK_1
          Trunk-1
TRUNK_2
          Trunk-2
UCL
          UCL
UDP
          User Datagram
WB_EXPAK
          WIDEBAND EXPAK
WB_MON
          WIDEBAND Monitoring
XNET
          Cross Net Debugger
XNS_IDP
          XEROX NS IDP
 
Method Summary
 java.lang.Byte convert()
          Convert the enum to another type.
static ProtocolType convert(byte value)
          Converts an ordinal value into a ProtocolType.
static ProtocolType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProtocolType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NULL

public static final ProtocolType NULL
Null


ICMP

public static final ProtocolType ICMP
Internet Conrol Message


IGMP

public static final ProtocolType IGMP
Internet Group Management


GGP

public static final ProtocolType GGP
Gateway-to-Gateway


ST

public static final ProtocolType ST
Stream


TCP

public static final ProtocolType TCP
Transmission control


UCL

public static final ProtocolType UCL
UCL


EGP

public static final ProtocolType EGP
Exterior Gateway Protocol


IGP

public static final ProtocolType IGP
any private interior gateway


BBN_RCC_MON

public static final ProtocolType BBN_RCC_MON
BBN RCC Monitoring


NVP_II

public static final ProtocolType NVP_II
Network Voice Protocol


PUP

public static final ProtocolType PUP
PUP


ARGUS

public static final ProtocolType ARGUS
ARGUS


EMCON

public static final ProtocolType EMCON
EMCON


XNET

public static final ProtocolType XNET
Cross Net Debugger


CHAOS

public static final ProtocolType CHAOS
Chaos


UDP

public static final ProtocolType UDP
User Datagram


MUX

public static final ProtocolType MUX
Multiplexing


DCN_MEAS

public static final ProtocolType DCN_MEAS
DCN Measurement Subsystems


HMP

public static final ProtocolType HMP
Host Monitoring


PRM

public static final ProtocolType PRM
Packet Radio Measurement


XNS_IDP

public static final ProtocolType XNS_IDP
XEROX NS IDP


TRUNK_1

public static final ProtocolType TRUNK_1
Trunk-1


TRUNK_2

public static final ProtocolType TRUNK_2
Trunk-2


LEAF_1

public static final ProtocolType LEAF_1
Leaf-1


LEAF_2

public static final ProtocolType LEAF_2
Leaf-2


RDP

public static final ProtocolType RDP
Reliable Data Protocol


IRTP

public static final ProtocolType IRTP
Internet Reliable Transaction


ISO_TP4

public static final ProtocolType ISO_TP4
ISO Transport Protocol Class 4


NETBLT

public static final ProtocolType NETBLT
Bulk Data Transfer Protocol


MFE_NSP

public static final ProtocolType MFE_NSP
MFE Network Services Protocol


MERIT_INP

public static final ProtocolType MERIT_INP
MERIT Internodal Protocol


SEP

public static final ProtocolType SEP
Sequential Exchange Protocol


CFTP

public static final ProtocolType CFTP
CFTP


SAT_EXPAK

public static final ProtocolType SAT_EXPAK
SATNET and Backroom EXPAK


MIT_SUBNET

public static final ProtocolType MIT_SUBNET
MIT Subnet Support


RVD

public static final ProtocolType RVD
MIT Remote Virtual Disk Protocol


IPPC

public static final ProtocolType IPPC
Internet Pluribus Packet Core


SAT_MON

public static final ProtocolType SAT_MON
SATNET Monitoring


IPCV

public static final ProtocolType IPCV
Internet Packet Core Utility


BR_SAT_MON

public static final ProtocolType BR_SAT_MON
Backroom SETNET Monitoring


WB_MON

public static final ProtocolType WB_MON
WIDEBAND Monitoring


WB_EXPAK

public static final ProtocolType WB_EXPAK
WIDEBAND EXPAK

Method Detail

values

public static ProtocolType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ProtocolType c : ProtocolType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ProtocolType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

convert

public java.lang.Byte convert()
Description copied from interface: EnumConverter
Convert the enum to another type.

Specified by:
convert in interface EnumConverter<java.lang.Byte>
Returns:
The other type.

convert

public static ProtocolType convert(byte value)
Converts an ordinal value into a ProtocolType.

Parameters:
value -
Returns:
The ProtocolType.


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.