Java Doc for OPTRecord.java in  » Net » dnsjava » org » xbill » DNS » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » dnsjava » org.xbill.DNS 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.xbill.DNS.Record
      org.xbill.DNS.OPTRecord

OPTRecord
public class OPTRecord extends Record (Code)
Options - describes Extended DNS (EDNS) properties of a Message. No specific options are defined other than those specified in the header. An OPT should be generated by Resolver. EDNS is a method to extend the DNS protocol while providing backwards compatibility and not significantly changing the protocol. This implementation of EDNS is mostly complete at level 0.
See Also:   Message
See Also:   Resolver
See Also:   
author:
   Brian Wellington

Inner Class :public static class Option


Constructor Summary
 OPTRecord()
    
public  OPTRecord(int payloadSize, int xrcode, int version, int flags, List options)
     Creates an OPT Record.
public  OPTRecord(int payloadSize, int xrcode, int version, int flags)
     Creates an OPT Record with no data.
public  OPTRecord(int payloadSize, int xrcode, int version)
     Creates an OPT Record with no data.

Method Summary
public  intgetExtendedRcode()
    
public  intgetFlags()
    
 RecordgetObject()
    
public  ListgetOptions()
     Gets all options in the OPTRecord.
public  ListgetOptions(int code)
     Gets all options in the OPTRecord with a specific code.
public  intgetPayloadSize()
     Returns the maximum allowed payload size.
public  intgetVersion()
    
 voidrdataFromString(Tokenizer st, Name origin)
    
 voidrrFromWire(DNSInput in)
    
 StringrrToString()
    
 voidrrToWire(DNSOutput out, Compression c, boolean canonical)
    


Constructor Detail
OPTRecord
OPTRecord()(Code)



OPTRecord
public OPTRecord(int payloadSize, int xrcode, int version, int flags, List options)(Code)
Creates an OPT Record. This is normally called by SimpleResolver, but can also be called by a server.
Parameters:
  payloadSize - The size of a packet that can be reassembled on the sending host.
Parameters:
  xrcode - The value of the extended rcode field. This is the upper16 bits of the full rcode.
Parameters:
  flags - Additional message flags.
Parameters:
  version - The EDNS version that this DNS implementation supports.This should be 0 for dnsjava.
Parameters:
  options - The list of options that comprise the data field. Thereare currently no defined options.
See Also:   ExtendedFlags



OPTRecord
public OPTRecord(int payloadSize, int xrcode, int version, int flags)(Code)
Creates an OPT Record with no data. This is normally called by SimpleResolver, but can also be called by a server.
Parameters:
  payloadSize - The size of a packet that can be reassembled on the sending host.
Parameters:
  xrcode - The value of the extended rcode field. This is the upper16 bits of the full rcode.
Parameters:
  flags - Additional message flags.
Parameters:
  version - The EDNS version that this DNS implementation supports.This should be 0 for dnsjava.
See Also:   ExtendedFlags



OPTRecord
public OPTRecord(int payloadSize, int xrcode, int version)(Code)
Creates an OPT Record with no data. This is normally called by SimpleResolver, but can also be called by a server.




Method Detail
getExtendedRcode
public int getExtendedRcode()(Code)
Returns the extended Rcode
See Also:   Rcode



getFlags
public int getFlags()(Code)
Returns the EDNS flags



getObject
Record getObject()(Code)



getOptions
public List getOptions()(Code)
Gets all options in the OPTRecord. This returns a list of Options.



getOptions
public List getOptions(int code)(Code)
Gets all options in the OPTRecord with a specific code. This returns a list of byte arrays.



getPayloadSize
public int getPayloadSize()(Code)
Returns the maximum allowed payload size.



getVersion
public int getVersion()(Code)
Returns the highest supported EDNS version



rdataFromString
void rdataFromString(Tokenizer st, Name origin) throws IOException(Code)



rrFromWire
void rrFromWire(DNSInput in) throws IOException(Code)



rrToString
String rrToString()(Code)
Converts rdata to a String



rrToWire
void rrToWire(DNSOutput out, Compression c, boolean canonical)(Code)



Fields inherited from org.xbill.DNS.Record
protected Name name(Code)(Java Doc)
protected long ttl(Code)(Java Doc)
protected int typedclass(Code)(Java Doc)

Methods inherited from org.xbill.DNS.Record
protected static byte[] byteArrayFromString(String s) throws TextParseException(Code)(Java Doc)
protected static String byteArrayToString(byte[] array, boolean quote)(Code)(Java Doc)
static Name checkName(String field, Name name)(Code)(Java Doc)
static int checkU16(String field, int val)(Code)(Java Doc)
static long checkU32(String field, long val)(Code)(Java Doc)
static int checkU8(String field, int val)(Code)(Java Doc)
Record cloneRecord()(Code)(Java Doc)
public int compareTo(Object o)(Code)(Java Doc)
public boolean equals(Object arg)(Code)(Java Doc)
public static Record fromString(Name name, int type, int dclass, long ttl, Tokenizer st, Name origin) throws IOException(Code)(Java Doc)
public static Record fromString(Name name, int type, int dclass, long ttl, String s, Name origin) throws IOException(Code)(Java Doc)
static Record fromWire(DNSInput in, int section, boolean isUpdate) throws IOException(Code)(Java Doc)
static Record fromWire(DNSInput in, int section) throws IOException(Code)(Java Doc)
public static Record fromWire(byte[] b, int section) throws IOException(Code)(Java Doc)
public Name getAdditionalName()(Code)(Java Doc)
public int getDClass()(Code)(Java Doc)
public Name getName()(Code)(Java Doc)
abstract Record getObject()(Code)(Java Doc)
public int getRRsetType()(Code)(Java Doc)
public long getTTL()(Code)(Java Doc)
public int getType()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public static Record newRecord(Name name, int type, int dclass, long ttl, int length, byte[] data)(Code)(Java Doc)
public static Record newRecord(Name name, int type, int dclass, long ttl, byte[] data)(Code)(Java Doc)
public static Record newRecord(Name name, int type, int dclass, long ttl)(Code)(Java Doc)
public static Record newRecord(Name name, int type, int dclass)(Code)(Java Doc)
abstract void rdataFromString(Tokenizer st, Name origin) throws IOException(Code)(Java Doc)
public String rdataToString()(Code)(Java Doc)
public byte[] rdataToWireCanonical()(Code)(Java Doc)
abstract void rrFromWire(DNSInput in) throws IOException(Code)(Java Doc)
abstract String rrToString()(Code)(Java Doc)
abstract void rrToWire(DNSOutput out, Compression c, boolean canonical)(Code)(Java Doc)
public boolean sameRRset(Record rec)(Code)(Java Doc)
void setTTL(long ttl)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
void toWire(DNSOutput out, int section, Compression c)(Code)(Java Doc)
public byte[] toWire(int section)(Code)(Java Doc)
public byte[] toWireCanonical()(Code)(Java Doc)
protected static String unknownToString(byte[] data)(Code)(Java Doc)
Record withDClass(int dclass, long ttl)(Code)(Java Doc)
public Record withName(Name name)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.