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

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

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


Field Summary
static OpCode IQUERY
           
static OpCode NOTIFY
           
static OpCode QUERY
          Enumeration elements are constructed once upon class loading.
static OpCode STATUS
           
static OpCode UPDATE
           
static java.util.List VALUES
           
 
Method Summary
 int compareTo(java.lang.Object that)
           
 int getOrdinal()
           
static OpCode 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

QUERY

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


IQUERY

public static final OpCode IQUERY

STATUS

public static final OpCode STATUS

NOTIFY

public static final OpCode NOTIFY

UPDATE

public static final OpCode UPDATE

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 OpCode getTypeByOrdinal(int type)

getOrdinal

public int getOrdinal()


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