IP*Works! V9

ipworks
Class DnsResponseEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ipworks.DnsResponseEvent
All Implemented Interfaces:
java.io.Serializable

public class DnsResponseEvent
extends java.util.EventObject

Fires after a DNS query.

The Response event will fire after a call to Query . The RequestId parameter contains the request id associated with the original query. Domain is the domain of the query. The Authoritative parameter is true if the response is from an authoritative name server. If there is an error returned by the server, StatusCode and Description provide them.

Once the query is complete, a single Response event will fire, and the following properties will contain the results:

StatusCode
The success or error code of the DNS query.
Status
A standard string interpretation of StatusCode .
Records
The Records in the last DNS response.
RecordSource
The source (type) of records being listed.

See Also:
Dns, Dns.ResponseEvent, Serialized Form

Field Summary
 boolean authoritative
           
 java.lang.String description
           
 java.lang.String domain
           
 int requestId
           
 int statusCode
           
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

requestId

public int requestId

domain

public java.lang.String domain

statusCode

public int statusCode

description

public java.lang.String description

authoritative

public boolean authoritative

IP*Works! V9

Copyright (c) 2013 /n software inc. - All rights reserved.