ForwardingTimeout.java
1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package okio;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
public class ForwardingTimeout
extends Timeout
{
private Timeout a;
public ForwardingTimeout(Timeout paramTimeout)
{
if (paramTimeout == null) {
throw new IllegalArgumentException("delegate == null");
}
this.a = paramTimeout;
}
public Timeout clearDeadline()
{
return this.a.clearDeadline();
}
public Timeout clearTimeout()
{
return this.a.clearTimeout();
}
public long deadlineNanoTime()
{
return this.a.deadlineNanoTime();
}
public Timeout deadlineNanoTime(long paramLong)
{
return this.a.deadlineNanoTime(paramLong);
}
public final Timeout delegate()
{
return this.a;
}
public boolean hasDeadline()
{
return this.a.hasDeadline();
}
public final ForwardingTimeout setDelegate(Timeout paramTimeout)
{
if (paramTimeout == null) {
throw new IllegalArgumentException("delegate == null");
}
this.a = paramTimeout;
return this;
}
public void throwIfReached()
throws IOException
{
this.a.throwIfReached();
}
public Timeout timeout(long paramLong, TimeUnit paramTimeUnit)
{
return this.a.timeout(paramLong, paramTimeUnit);
}
public long timeoutNanos()
{
return this.a.timeoutNanos();
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/okio/ForwardingTimeout.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/