You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
182 lines
3.6 KiB
182 lines
3.6 KiB
2 years ago
|
.class public Lokio/ForwardingTimeout;
|
||
|
.super Lokio/Timeout;
|
||
|
.source "ForwardingTimeout.java"
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private delegate:Lokio/Timeout;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Lokio/Timeout;)V
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 25
|
||
|
invoke-direct {p0}, Lokio/Timeout;-><init>()V
|
||
|
|
||
|
.line 26
|
||
|
if-nez p1, :cond_0
|
||
|
|
||
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
const-string v1, "delegate == null"
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
.line 27
|
||
|
:cond_0
|
||
|
iput-object p1, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
|
||
|
|
||
|
.line 28
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public clearDeadline()Lokio/Timeout;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 66
|
||
|
iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
|
||
|
|
||
|
invoke-virtual {v0}, Lokio/Timeout;->clearDeadline()Lokio/Timeout;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public clearTimeout()Lokio/Timeout;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 62
|
||
|
iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
|
||
|
|
||
|
invoke-virtual {v0}, Lokio/Timeout;->clearTimeout()Lokio/Timeout;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public deadlineNanoTime()J
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 54
|
||
|
iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
|
||
|
|
||
|
invoke-virtual {v0}, Lokio/Timeout;->deadlineNanoTime()J
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public deadlineNanoTime(J)Lokio/Timeout;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 58
|
||
|
iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
|
||
|
|
||
|
invoke-virtual {v0, p1, p2}, Lokio/Timeout;->deadlineNanoTime(J)Lokio/Timeout;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public final delegate()Lokio/Timeout;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 32
|
||
|
iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public hasDeadline()Z
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 50
|
||
|
iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
|
||
|
|
||
|
invoke-virtual {v0}, Lokio/Timeout;->hasDeadline()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public final setDelegate(Lokio/Timeout;)Lokio/ForwardingTimeout;
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 36
|
||
|
if-nez p1, :cond_0
|
||
|
|
||
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
const-string v1, "delegate == null"
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw v0
|
||
|
|
||
|
.line 37
|
||
|
:cond_0
|
||
|
iput-object p1, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
|
||
|
|
||
|
.line 38
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public throwIfReached()V
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 70
|
||
|
iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
|
||
|
|
||
|
invoke-virtual {v0}, Lokio/Timeout;->throwIfReached()V
|
||
|
|
||
|
.line 71
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public timeout(JLjava/util/concurrent/TimeUnit;)Lokio/Timeout;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 42
|
||
|
iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
|
||
|
|
||
|
invoke-virtual {v0, p1, p2, p3}, Lokio/Timeout;->timeout(JLjava/util/concurrent/TimeUnit;)Lokio/Timeout;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public timeoutNanos()J
|
||
|
.locals 2
|
||
|
|
||
|
.prologue
|
||
|
.line 46
|
||
|
iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
|
||
|
|
||
|
invoke-virtual {v0}, Lokio/Timeout;->timeoutNanos()J
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
return-wide v0
|
||
|
.end method
|