Package org.minidns.dnsqueryresult
Class DnsQueryResult
- java.lang.Object
-
- org.minidns.dnsqueryresult.DnsQueryResult
-
- Direct Known Subclasses:
CachedDnsQueryResult
,StandardDnsQueryResult
public abstract class DnsQueryResult extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DnsQueryResult.QueryMethod
-
Field Summary
Fields Modifier and Type Field Description DnsMessage
query
DnsQueryResult.QueryMethod
queryMethod
DnsMessage
response
-
Constructor Summary
Constructors Modifier Constructor Description protected
DnsQueryResult(DnsQueryResult.QueryMethod queryMethod, DnsMessage query, DnsMessage response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
boolean
wasSuccessful()
-
-
-
Field Detail
-
queryMethod
public final DnsQueryResult.QueryMethod queryMethod
-
query
public final DnsMessage query
-
response
public final DnsMessage response
-
-
Constructor Detail
-
DnsQueryResult
protected DnsQueryResult(DnsQueryResult.QueryMethod queryMethod, DnsMessage query, DnsMessage response)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
wasSuccessful
public boolean wasSuccessful()
-
-