org.gudy.azureus2.core3.ipchecker.extipchecker.impl
Class ExternalIPCheckerServiceImpl
java.lang.Object
org.gudy.azureus2.core3.ipchecker.extipchecker.impl.ExternalIPCheckerServiceImpl
- All Implemented Interfaces:
- Cloneable, ExternalIPCheckerService
- Direct Known Subclasses:
- ExternalIPCheckerServiceNoLookup, ExternalIPCheckerServiceSimple
public abstract class ExternalIPCheckerServiceImpl
- extends Object
- implements ExternalIPCheckerService, Cloneable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalIPCheckerServiceImpl
protected ExternalIPCheckerServiceImpl(String name_key)
initiateCheck
public void initiateCheck(long timeout)
- Specified by:
initiateCheck
in interface ExternalIPCheckerService
_clone
protected ExternalIPCheckerServiceImpl _clone()
initiateCheckSupport
protected void initiateCheckSupport(long timeout)
initiateCheckSupport
protected abstract void initiateCheckSupport()
setComplete
protected void setComplete()
loadPage
protected String loadPage(String url_string)
extractIPAddress
protected String extractIPAddress(String str)
getName
public String getName()
- Specified by:
getName
in interface ExternalIPCheckerService
getDescription
public String getDescription()
- Specified by:
getDescription
in interface ExternalIPCheckerService
getURL
public String getURL()
- Specified by:
getURL
in interface ExternalIPCheckerService
informSuccess
protected void informSuccess(String ip)
informFailure
protected void informFailure(String msg_key)
informFailure
protected void informFailure(String msg_key,
String extra)
reportProgress
protected void reportProgress(String msg_key)
reportProgress
protected void reportProgress(String msg_key,
String extra)
addListener
public void addListener(ExternalIPCheckerServiceListener l)
- Specified by:
addListener
in interface ExternalIPCheckerService
removeListener
public void removeListener(ExternalIPCheckerServiceListener l)
- Specified by:
removeListener
in interface ExternalIPCheckerService