Package net.i2p.i2ptunnel
Class I2PTunnelHTTPClientBase.OnTimeout
java.lang.Object
net.i2p.i2ptunnel.I2PTunnelHTTPClientBase.OnTimeout
- All Implemented Interfaces:
I2PTunnelRunner.FailCallback
- Enclosing class:
- I2PTunnelHTTPClientBase
protected class I2PTunnelHTTPClientBase.OnTimeout extends Object implements I2PTunnelRunner.FailCallback
- Since:
- 0.9.14 moved from subclasses
-
Constructor Details
-
OnTimeout
public OnTimeout(Socket s, OutputStream out, String target, boolean usingProxy, String wwwProxy, long id)- Parameters:
target
- the URI for an HTTP request, or the host name for CONNECT
-
OnTimeout
public OnTimeout(Socket s, OutputStream out, String target, boolean usingProxy, String wwwProxy, long id, String targetHost, boolean isSSL)- Parameters:
target
- the URI for an HTTP request, or the host name for CONNECTtargetHost
- if non-null, call noteProxyResult() with this as hostisSSL
- to pass to noteProxyResult(). FALSE for ConnectClient.- Since:
- 0.9.39
-
-
Method Details
-
onFail
- Specified by:
onFail
in interfaceI2PTunnelRunner.FailCallback
- Parameters:
ex
- may be null
-