Komplettes G-Earth Paket inkl. JRE, Extensions und Tools. Extensions: - G-BuildTools, G-Click Ultimate, G-Loader, G-Manipulate - G-Presets, G-Translator, G-Trigger, G-itemViewer - Market Utils, Packet Info Explorer, Plants - RandomRoomVisitor, RoomLogger, Sanbovir Photo Inspector - SpyFriends, WallAligner, XabboScripter, xabbo
74 lines
1.6 KiB
Java
74 lines
1.6 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package okio;
|
|
|
|
import java.io.IOException;
|
|
import java.util.concurrent.TimeUnit;
|
|
import okio.Timeout;
|
|
|
|
public class ForwardingTimeout
|
|
extends Timeout {
|
|
private Timeout delegate;
|
|
|
|
public ForwardingTimeout(Timeout delegate) {
|
|
if (delegate == null) {
|
|
throw new IllegalArgumentException("delegate == null");
|
|
}
|
|
this.delegate = delegate;
|
|
}
|
|
|
|
public final Timeout delegate() {
|
|
return this.delegate;
|
|
}
|
|
|
|
public final ForwardingTimeout setDelegate(Timeout delegate) {
|
|
if (delegate == null) {
|
|
throw new IllegalArgumentException("delegate == null");
|
|
}
|
|
this.delegate = delegate;
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public Timeout timeout(long timeout, TimeUnit unit) {
|
|
return this.delegate.timeout(timeout, unit);
|
|
}
|
|
|
|
@Override
|
|
public long timeoutNanos() {
|
|
return this.delegate.timeoutNanos();
|
|
}
|
|
|
|
@Override
|
|
public boolean hasDeadline() {
|
|
return this.delegate.hasDeadline();
|
|
}
|
|
|
|
@Override
|
|
public long deadlineNanoTime() {
|
|
return this.delegate.deadlineNanoTime();
|
|
}
|
|
|
|
@Override
|
|
public Timeout deadlineNanoTime(long deadlineNanoTime) {
|
|
return this.delegate.deadlineNanoTime(deadlineNanoTime);
|
|
}
|
|
|
|
@Override
|
|
public Timeout clearTimeout() {
|
|
return this.delegate.clearTimeout();
|
|
}
|
|
|
|
@Override
|
|
public Timeout clearDeadline() {
|
|
return this.delegate.clearDeadline();
|
|
}
|
|
|
|
@Override
|
|
public void throwIfReached() throws IOException {
|
|
this.delegate.throwIfReached();
|
|
}
|
|
}
|
|
|