Rabbit-R1/switch port/java/sources/okio/ForwardingTimeout.java
2024-05-21 17:08:36 -04:00

79 lines
3.5 KiB
Java

package okio;
import io.sentry.ProfilingTraceData;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: ForwardingTimeout.kt */
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\t\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0016\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0001¢\u0006\u0002\u0010\u0003J\b\u0010\u0006\u001a\u00020\u0001H\u0016J\b\u0010\u0007\u001a\u00020\u0001H\u0016J\b\u0010\b\u001a\u00020\tH\u0016J\u0010\u0010\b\u001a\u00020\u00012\u0006\u0010\b\u001a\u00020\tH\u0016J\b\u0010\n\u001a\u00020\u000bH\u0016J\u000e\u0010\u0005\u001a\u00020\u00002\u0006\u0010\u0002\u001a\u00020\u0001J\b\u0010\f\u001a\u00020\rH\u0016J\u0018\u0010\u000e\u001a\u00020\u00012\u0006\u0010\u000e\u001a\u00020\t2\u0006\u0010\u000f\u001a\u00020\u0010H\u0016J\b\u0010\u0011\u001a\u00020\tH\u0016R\u001c\u0010\u0002\u001a\u00020\u00018\u0007X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0002\u0010\u0004\"\u0004\b\u0005\u0010\u0003¨\u0006\u0012"}, d2 = {"Lokio/ForwardingTimeout;", "Lokio/Timeout;", "delegate", "(Lokio/Timeout;)V", "()Lokio/Timeout;", "setDelegate", "clearDeadline", "clearTimeout", "deadlineNanoTime", "", "hasDeadline", "", "throwIfReached", "", ProfilingTraceData.TRUNCATION_REASON_TIMEOUT, "unit", "Ljava/util/concurrent/TimeUnit;", "timeoutNanos", "okio"}, k = 1, mv = {1, 4, 0})
/* loaded from: classes3.dex */
public class ForwardingTimeout extends Timeout {
private Timeout delegate;
/* renamed from: delegate, reason: from getter */
public final Timeout getDelegate() {
return this.delegate;
}
public final ForwardingTimeout setDelegate(Timeout delegate) {
Intrinsics.checkNotNullParameter(delegate, "delegate");
this.delegate = delegate;
return this;
}
/* renamed from: setDelegate, reason: collision with other method in class */
public final /* synthetic */ void m7419setDelegate(Timeout timeout) {
Intrinsics.checkNotNullParameter(timeout, "<set-?>");
this.delegate = timeout;
}
public ForwardingTimeout(Timeout delegate) {
Intrinsics.checkNotNullParameter(delegate, "delegate");
this.delegate = delegate;
}
@Override // okio.Timeout
public Timeout timeout(long timeout, TimeUnit unit) {
Intrinsics.checkNotNullParameter(unit, "unit");
return this.delegate.timeout(timeout, unit);
}
@Override // okio.Timeout
/* renamed from: timeoutNanos */
public long getTimeoutNanos() {
return this.delegate.getTimeoutNanos();
}
@Override // okio.Timeout
/* renamed from: hasDeadline */
public boolean getHasDeadline() {
return this.delegate.getHasDeadline();
}
@Override // okio.Timeout
public long deadlineNanoTime() {
return this.delegate.deadlineNanoTime();
}
@Override // okio.Timeout
public Timeout deadlineNanoTime(long deadlineNanoTime) {
return this.delegate.deadlineNanoTime(deadlineNanoTime);
}
@Override // okio.Timeout
public Timeout clearTimeout() {
return this.delegate.clearTimeout();
}
@Override // okio.Timeout
public Timeout clearDeadline() {
return this.delegate.clearDeadline();
}
@Override // okio.Timeout
public void throwIfReached() throws IOException {
this.delegate.throwIfReached();
}
}