DNSHandler (RabbIT/4)
Date: 2009-10-13

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rabbit.dns
Interface DNSHandler

All Known Implementing Classes:
  DNSJavaHandler, DNSSunHandler

    public interface DNSHandler

A DNS handler.

Author:
  Robert Olofsson

Method Summary
`InetAddress` | `getInetAddress(String host)` Look up an internet address.
`InetAddress` | `getInetAddress(URL url)` Look up an internet address.
`void` | `setup(SProperties config)` Do any neccessary setup.

Method Detail

### setup

    void setup(SProperties config)

  Do any neccessary setup.

  Parameters:
    `config` - the properties for this handler

### getInetAddress

    InetAddress getInetAddress(URL url)
                               throws UnknownHostException

  Look up an internet address.

  Parameters:
    `url` - the url to get the host from
  Throws:
    `UnknownHostException`

### getInetAddress

    InetAddress getInetAddress(String host)
                               throws UnknownHostException

  Look up an internet address.

  Parameters:
    `host` - the name of the host to lookup
  Throws:
    `UnknownHostException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD