org.xbill.DNS
Class Opcode

java.lang.Object
  extended byorg.xbill.DNS.Opcode

public final class Opcode
extends Object

Constants and functions relating to DNS opcodes

Author:
Brian Wellington

Field Summary
static byte IQUERY
          An inverse query (deprecated)
static byte NOTIFY
          A message from a primary to a secondary server to initiate a zone transfer
static byte QUERY
          A standard query
static byte STATUS
          A server status request (not used)
static byte UPDATE
          A dynamic update message
 
Method Summary
static String string(int i)
          Converts a numeric Opcode into a String
static byte value(String s)
          Converts a String representation of an Opcode into its numeric value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUERY

public static final byte QUERY
A standard query

See Also:
Constant Field Values

IQUERY

public static final byte IQUERY
An inverse query (deprecated)

See Also:
Constant Field Values

STATUS

public static final byte STATUS
A server status request (not used)

See Also:
Constant Field Values

NOTIFY

public static final byte NOTIFY
A message from a primary to a secondary server to initiate a zone transfer

See Also:
Constant Field Values

UPDATE

public static final byte UPDATE
A dynamic update message

See Also:
Constant Field Values
Method Detail

string

public static String string(int i)
Converts a numeric Opcode into a String


value

public static byte value(String s)
Converts a String representation of an Opcode into its numeric value