Package 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
Author:
Brian Wellington
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    DNS Stateful Operations (DSO).
    static final int
    An inverse query (deprecated)
    static final int
    A message from a primary to a secondary server to initiate a zone transfer
    static final int
    A standard query
    static final int
    A server status request (not used)
    static final int
    A dynamic update message
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    string(int i)
    Converts a numeric Opcode into a String
    static int
    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 Details

  • Method Details

    • string

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

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