IP*Works! V9

ipworks
Class MxResponseEvent

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

public class MxResponseEvent
extends java.util.EventObject

Fired for each MailServer accepting email for the domain.

A Response event is fired for each mail server handling email for the requested domain. The RequestId parameter identifies the request and equals the value of RequestId property right before the Resolve method is called. MailServer is the name of the server handling email for the requested Domain . A lower Precedence value should be preferred. The TimeToLive parameter gives the validity time in seconds before the DNSServer should be queried again.

Possible values for the StatusCode and Description parameters are:

StatusCode
Description
0
Ok
1
Format error
2
Server failure
3
Name error
4
Not implemented
5
Refused

After the last Response event is fired, the bean sets the MailServer and Status properties to the best MailServer and the error or success code respectively.

See Also:
Mx, Mx.ResponseEvent, Serialized Form

Field Summary
 boolean authoritative
           
 java.lang.String description
           
 java.lang.String domain
           
 java.lang.String mailServer
           
 int precedence
           
 int requestId
           
 int statusCode
           
 int timeToLive
           
 
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

mailServer

public java.lang.String mailServer

precedence

public int precedence

timeToLive

public int timeToLive

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.