|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.httpio.ResolvRunner
public class ResolvRunner
A dns lookup class that runs in the background.
| Constructor Summary | |
|---|---|
ResolvRunner(DNSHandler dnsHandler,
java.net.URL url,
InetAddressListener ial)
Create a new resolver that does the DNS request on a background thread. |
|
| Method Summary | |
|---|---|
void |
run()
Run a dns lookup and then notifies the listener on the selector thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResolvRunner(DNSHandler dnsHandler,
java.net.URL url,
InetAddressListener ial)
dnsHandler - the actual DNSHandler to use for dns lookupsurl - the url to look upial - the listener that will get the callback when the dns lookup
is done| Method Detail |
|---|
public void run()
run in interface java.lang.Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||