psoft.hsphere.resource.registrar
Interface AsyncRegistrar

All Known Implementing Classes:
AsyncLoggableRegistrar

public interface AsyncRegistrar

Author:
Igor Seletskiy Created: Sep 14, 2004

Method Summary
 int getRegCheckInterval(java.lang.String tld)
          returns number of hours to wait between check intervals
 int getRegTimeout(java.lang.String tld)
          returns number of hours after which to consider domain registration timed out/failed
 boolean isAsyncTLD(java.lang.String tld)
          returns true if tld is processed through async registry
 boolean isRegComplete(java.lang.String domain, java.lang.String tld)
          returns true if registration completed sucessfully.
 

Method Detail

isAsyncTLD

public boolean isAsyncTLD(java.lang.String tld)
returns true if tld is processed through async registry

Parameters:
tld - tld to check, without . (like com, or co.uk)
Returns:
true, if async registry, false otherwise

getRegCheckInterval

public int getRegCheckInterval(java.lang.String tld)
returns number of hours to wait between check intervals

Parameters:
tld - tld to check
Returns:
number of hours to wait.

getRegTimeout

public int getRegTimeout(java.lang.String tld)
returns number of hours after which to consider domain registration timed out/failed

Parameters:
tld - tld to check
Returns:
number of hours before timeout.

isRegComplete

public boolean isRegComplete(java.lang.String domain,
                             java.lang.String tld)
                      throws java.lang.Exception
returns true if registration completed sucessfully. The false result doesn't mean that it fails, but that more time needs to be given to finish registration.

Parameters:
domain - domain name
tld - TLD
Returns:
true, if compeleted sucessfuly, false, if result unknown
Throws:
java.lang.Exception - if reg. failed, or other errors.


Copyright © 2004 Positive Software Corporation. All Rights Reserved.