org.xbill.DNS
Class Opcode

java.lang.Object
  |
  +--org.xbill.DNS.Opcode

public final class Opcode
extends Object

Constants and functions relating to DNS opcodes


Field Summary
static byte NOTIFY
          A message from a primary to a secondary server to initiate a zone transfer
static byte QUERY
          A query sent to a server
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 query sent to a server

NOTIFY

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

UPDATE

public static final byte UPDATE
A dynamic update message
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