| |
|
| java.lang.Object CustomDNS.ZoneController.Implementation
Implementation | public class Implementation implements ZoneAuthorityIntf,ZoneRegistrarIntf(Code) | | Implements our zone authority and zone registrar services.
See Also: CustomDNS.ZoneContoller.Server |
Method Summary | |
public String | getAddressForHost(String hostname) Look up the address of the specified host.
This method is invoked remotely via e-speak.
Parameters: hostname - The fully qualified domain name of the host. | public void | registerAddressForHost(String hostname, String address) Register a new address for the specified host.
This method is invoked remotely via e-speak.
Parameters: hostname - The fully qualified domain name of the host. Parameters: address - IP address of the host. |
Implementation | public Implementation(Connection database)(Code) | | Create a new zone controller.
Parameters: database - A JDBC connection to the database holding ouraddress records. |
getAddressForHost | public String getAddressForHost(String hostname) throws ESInvocationException(Code) | | Look up the address of the specified host.
This method is invoked remotely via e-speak.
Parameters: hostname - The fully qualified domain name of the host. The IP address of the host (or null, if no address isfound). This should be a string of the format "w.x.y.z". exception: ESInvocationException - Thrown when an error is detectedduring remote invocation. |
registerAddressForHost | public void registerAddressForHost(String hostname, String address) throws ESInvocationException(Code) | | Register a new address for the specified host.
This method is invoked remotely via e-speak.
Parameters: hostname - The fully qualified domain name of the host. Parameters: address - IP address of the host. This should be a string ofthe format "w.x.y.z". exception: ESInvocationException - Thrown when an error is detectedduring remote invocation. |
|
|
|