Java Doc for Update.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.Message
      org.xbill.DNS.Update

Update
public class Update extends Message (Code)
A helper class for constructing dynamic DNS (DDNS) update messages.
author:
   Brian Wellington



Constructor Summary
public  Update(Name zone, int dclass)
     Creates an update message.
public  Update(Name zone)
     Creates an update message.

Method Summary
public  voidabsent(Name name)
     Inserts a prerequisite that the specified name does not exist; that is, there are no records with the given name in the zone.
public  voidabsent(Name name, int type)
     Inserts a prerequisite that the specified rrset does not exist; that is, there are no records with the given name and type in the zone.
public  voidadd(Name name, int type, long ttl, String record)
     Parses a record from the string, and indicates that the record should be inserted into the zone.
public  voidadd(Name name, int type, long ttl, Tokenizer tokenizer)
     Parses a record from the tokenizer, and indicates that the record should be inserted into the zone.
public  voidadd(Record record)
     Indicates that the record should be inserted into the zone.
public  voidadd(Record[] records)
     Indicates that the records should be inserted into the zone.
public  voidadd(RRset rrset)
     Indicates that all of the records in the rrset should be inserted into the zone.
public  voiddelete(Name name)
     Indicates that all records with the given name should be deleted from the zone.
public  voiddelete(Name name, int type)
     Indicates that all records with the given name and type should be deleted from the zone.
public  voiddelete(Name name, int type, String record)
     Parses a record from the string, and indicates that the record should be deleted from the zone.
public  voiddelete(Name name, int type, Tokenizer tokenizer)
     Parses a record from the tokenizer, and indicates that the record should be deleted from the zone.
public  voiddelete(Record record)
     Indicates that the specified record should be deleted from the zone.
public  voiddelete(Record[] records)
     Indicates that the records should be deleted from the zone.
public  voiddelete(RRset rrset)
     Indicates that all of the records in the rrset should be deleted from the zone.
public  voidpresent(Name name)
     Inserts a prerequisite that the specified name exists; that is, there exist records with the given name in the zone.
public  voidpresent(Name name, int type)
     Inserts a prerequisite that the specified rrset exists; that is, there exist records with the given name and type in the zone.
public  voidpresent(Name name, int type, String record)
     Parses a record from the string, and inserts a prerequisite that the record exists.
public  voidpresent(Name name, int type, Tokenizer tokenizer)
     Parses a record from the tokenizer, and inserts a prerequisite that the record exists.
public  voidpresent(Record record)
     Inserts a prerequisite that the specified record exists.
public  voidreplace(Name name, int type, long ttl, String record)
     Parses a record from the string, and indicates that the record should be inserted into the zone replacing any other records with the same name and type.
public  voidreplace(Name name, int type, long ttl, Tokenizer tokenizer)
     Parses a record from the tokenizer, and indicates that the record should be inserted into the zone replacing any other records with the same name and type.
public  voidreplace(Record record)
     Indicates that the record should be inserted into the zone replacing any other records with the same name and type.
public  voidreplace(Record[] records)
     Indicates that the records should be inserted into the zone replacing any other records with the same name and type as each one.
public  voidreplace(RRset rrset)
     Indicates that all of the records in the rrset should be inserted into the zone replacing any other records with the same name and type.


Constructor Detail
Update
public Update(Name zone, int dclass)(Code)
Creates an update message.
Parameters:
  zone - The name of the zone being updated.
Parameters:
  dclass - The class of the zone being updated.



Update
public Update(Name zone)(Code)
Creates an update message. The class is assumed to be IN.
Parameters:
  zone - The name of the zone being updated.




Method Detail
absent
public void absent(Name name)(Code)
Inserts a prerequisite that the specified name does not exist; that is, there are no records with the given name in the zone.



absent
public void absent(Name name, int type)(Code)
Inserts a prerequisite that the specified rrset does not exist; that is, there are no records with the given name and type in the zone.



add
public void add(Name name, int type, long ttl, String record) throws IOException(Code)
Parses a record from the string, and indicates that the record should be inserted into the zone.
throws:
  IOException - The record could not be parsed.



add
public void add(Name name, int type, long ttl, Tokenizer tokenizer) throws IOException(Code)
Parses a record from the tokenizer, and indicates that the record should be inserted into the zone.
throws:
  IOException - The record could not be parsed.



add
public void add(Record record)(Code)
Indicates that the record should be inserted into the zone.



add
public void add(Record[] records)(Code)
Indicates that the records should be inserted into the zone.



add
public void add(RRset rrset)(Code)
Indicates that all of the records in the rrset should be inserted into the zone.



delete
public void delete(Name name)(Code)
Indicates that all records with the given name should be deleted from the zone.



delete
public void delete(Name name, int type)(Code)
Indicates that all records with the given name and type should be deleted from the zone.



delete
public void delete(Name name, int type, String record) throws IOException(Code)
Parses a record from the string, and indicates that the record should be deleted from the zone.
throws:
  IOException - The record could not be parsed.



delete
public void delete(Name name, int type, Tokenizer tokenizer) throws IOException(Code)
Parses a record from the tokenizer, and indicates that the record should be deleted from the zone.
throws:
  IOException - The record could not be parsed.



delete
public void delete(Record record)(Code)
Indicates that the specified record should be deleted from the zone.



delete
public void delete(Record[] records)(Code)
Indicates that the records should be deleted from the zone.



delete
public void delete(RRset rrset)(Code)
Indicates that all of the records in the rrset should be deleted from the zone.



present
public void present(Name name)(Code)
Inserts a prerequisite that the specified name exists; that is, there exist records with the given name in the zone.



present
public void present(Name name, int type)(Code)
Inserts a prerequisite that the specified rrset exists; that is, there exist records with the given name and type in the zone.



present
public void present(Name name, int type, String record) throws IOException(Code)
Parses a record from the string, and inserts a prerequisite that the record exists. Due to the way value-dependent prequisites work, the condition that must be met is that the set of all records with the same and type in the update message must be identical to the set of all records with that name and type on the server.
throws:
  IOException - The record could not be parsed.



present
public void present(Name name, int type, Tokenizer tokenizer) throws IOException(Code)
Parses a record from the tokenizer, and inserts a prerequisite that the record exists. Due to the way value-dependent prequisites work, the condition that must be met is that the set of all records with the same and type in the update message must be identical to the set of all records with that name and type on the server.
throws:
  IOException - The record could not be parsed.



present
public void present(Record record)(Code)
Inserts a prerequisite that the specified record exists. Due to the way value-dependent prequisites work, the condition that must be met is that the set of all records with the same and type in the update message must be identical to the set of all records with that name and type on the server.



replace
public void replace(Name name, int type, long ttl, String record) throws IOException(Code)
Parses a record from the string, and indicates that the record should be inserted into the zone replacing any other records with the same name and type.
throws:
  IOException - The record could not be parsed.



replace
public void replace(Name name, int type, long ttl, Tokenizer tokenizer) throws IOException(Code)
Parses a record from the tokenizer, and indicates that the record should be inserted into the zone replacing any other records with the same name and type.
throws:
  IOException - The record could not be parsed.



replace
public void replace(Record record)(Code)
Indicates that the record should be inserted into the zone replacing any other records with the same name and type.



replace
public void replace(Record[] records)(Code)
Indicates that the records should be inserted into the zone replacing any other records with the same name and type as each one.



replace
public void replace(RRset rrset)(Code)
Indicates that all of the records in the rrset should be inserted into the zone replacing any other records with the same name and type.



Fields inherited from org.xbill.DNS.Message
final public static int MAXLENGTH(Code)(Java Doc)
final static int TSIG_FAILED(Code)(Java Doc)
final static int TSIG_INTERMEDIATE(Code)(Java Doc)
final static int TSIG_SIGNED(Code)(Java Doc)
final static int TSIG_UNSIGNED(Code)(Java Doc)
final static int TSIG_VERIFIED(Code)(Java Doc)
int tsigState(Code)(Java Doc)
int tsigstart(Code)(Java Doc)

Methods inherited from org.xbill.DNS.Message
public void addRecord(Record r, int section)(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public boolean findRRset(Name name, int type, int section)(Code)(Java Doc)
public boolean findRRset(Name name, int type)(Code)(Java Doc)
public boolean findRecord(Record r, int section)(Code)(Java Doc)
public boolean findRecord(Record r)(Code)(Java Doc)
public Header getHeader()(Code)(Java Doc)
public OPTRecord getOPT()(Code)(Java Doc)
public Record getQuestion()(Code)(Java Doc)
public int getRcode()(Code)(Java Doc)
public Record[] getSectionArray(int section)(Code)(Java Doc)
public RRset[] getSectionRRsets(int section)(Code)(Java Doc)
public TSIGRecord getTSIG()(Code)(Java Doc)
public boolean isSigned()(Code)(Java Doc)
public boolean isVerified()(Code)(Java Doc)
public static Message newQuery(Record r)(Code)(Java Doc)
public static Message newUpdate(Name zone)(Code)(Java Doc)
public int numBytes()(Code)(Java Doc)
public void removeAllRecords(int section)(Code)(Java Doc)
public boolean removeRecord(Record r, int section)(Code)(Java Doc)
public String sectionToString(int i)(Code)(Java Doc)
public void setHeader(Header h)(Code)(Java Doc)
public void setTSIG(TSIG key, int error, TSIGRecord querytsig)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
void toWire(DNSOutput out)(Code)(Java Doc)
public byte[] toWire()(Code)(Java Doc)
public byte[] toWire(int maxLength)(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.