Package mireka.filter.dnsbl
Class DnsblResult
- Object
-
- mireka.filter.dnsbl.DnsblResult
-
public class DnsblResult extends ObjectRepresents the result of checking one or more DNSBL. If the identity is checked on more then one DNSBL then this object describes the first positive result, or the overall negative result.
-
-
Field Summary
Fields Modifier and Type Field Description DnsbldnsblbooleanisListedstatic DnsblResultNOT_LISTEDjava.net.InetAddressreplyAddressReason code returned by the DNSBL in the form of an IP address, usually in the 127.0.0.x range.
-
Constructor Summary
Constructors Constructor Description DnsblResult(Dnsbl dnsbl, java.net.InetAddress replyAddress, String reason)create a positive result
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()StringtoString()
-
-
-
Field Detail
-
NOT_LISTED
public static final DnsblResult NOT_LISTED
-
isListed
public final boolean isListed
-
dnsbl
public final Dnsbl dnsbl
-
replyAddress
public final java.net.InetAddress replyAddress
Reason code returned by the DNSBL in the form of an IP address, usually in the 127.0.0.x range.
-
-
Constructor Detail
-
DnsblResult
public DnsblResult(Dnsbl dnsbl, java.net.InetAddress replyAddress, String reason)
create a positive result
-
-