org.gudy.azureus2.core3.ipchecker.extipchecker.impl
Class ExternalIPCheckerServiceImpl
java.lang.Object
org.gudy.azureus2.core3.ipchecker.extipchecker.impl.ExternalIPCheckerServiceImpl
- All Implemented Interfaces:
- java.lang.Cloneable, ExternalIPCheckerService
- Direct Known Subclasses:
- ExternalIPCheckerServiceNoLookup, ExternalIPCheckerServiceSimple
public abstract class ExternalIPCheckerServiceImpl
- extends java.lang.Object
- implements ExternalIPCheckerService, java.lang.Cloneable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalIPCheckerServiceImpl
protected ExternalIPCheckerServiceImpl(java.lang.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 java.lang.String loadPage(java.lang.String url_string)
extractIPAddress
protected java.lang.String extractIPAddress(java.lang.String str)
getName
public java.lang.String getName()
- Specified by:
getName
in interface ExternalIPCheckerService
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface ExternalIPCheckerService
getURL
public java.lang.String getURL()
- Specified by:
getURL
in interface ExternalIPCheckerService
informSuccess
protected void informSuccess(java.lang.String ip)
informFailure
protected void informFailure(java.lang.String msg_key)
informFailure
protected void informFailure(java.lang.String msg_key,
java.lang.String extra)
reportProgress
protected void reportProgress(java.lang.String msg_key)
reportProgress
protected void reportProgress(java.lang.String msg_key,
java.lang.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