org.xbill.DNS
Class GenericEDNSOption

java.lang.Object
  extended by org.xbill.DNS.EDNSOption
      extended by org.xbill.DNS.GenericEDNSOption
Direct Known Subclasses:
NSIDOption

public class GenericEDNSOption
extends EDNSOption

An EDNSOption with no internal structure.

Author:
Ming Zhou <mizhou@bnivideo.com>, Beaumaris Networks, Brian Wellington

Nested Class Summary
 
Nested classes/interfaces inherited from class org.xbill.DNS.EDNSOption
EDNSOption.Code
 
Constructor Summary
GenericEDNSOption(int code, byte[] data)
          Construct a generic EDNS option.
 
Method Summary
 
Methods inherited from class org.xbill.DNS.EDNSOption
equals, fromWire, getCode, hashCode, toString, toWire
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericEDNSOption

public GenericEDNSOption(int code,
                         byte[] data)
Construct a generic EDNS option.

Parameters:
data - The contents of the option.