rabbit.io
Interface InetAddressListener


public interface InetAddressListener

An interface for a listener of asyncronous dns lookups.

Author:
Robert Olofsson

Method Summary
 void lookupDone(InetAddress ia)
          An dns lookup has completed.
 void unknownHost(Exception e)
          Lookup failed.
 

Method Detail

lookupDone

void lookupDone(InetAddress ia)
An dns lookup has completed.

Parameters:
ia - the InetAddress requested.

unknownHost

void unknownHost(Exception e)
Lookup failed.