123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- .class public Lokio/ForwardingTimeout;
- .super Lokio/Timeout;
- .source ""
- # instance fields
- .field private delegate:Lokio/Timeout;
- # direct methods
- .method public constructor <init>(Lokio/Timeout;)V
- .locals 1
- invoke-direct {p0}, Lokio/Timeout;-><init>()V
- if-eqz p1, :cond_0
- iput-object p1, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
- return-void
- :cond_0
- new-instance p1, Ljava/lang/IllegalArgumentException;
- const-string v0, "delegate == null"
- invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
- throw p1
- .end method
- # virtual methods
- .method public clearDeadline()Lokio/Timeout;
- .locals 1
- 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
- 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
- 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
- iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
- invoke-virtual {v0, p1, p2}, Lokio/Timeout;->deadlineNanoTime(J)Lokio/Timeout;
- move-result-object p1
- return-object p1
- .end method
- .method public final delegate()Lokio/Timeout;
- .locals 1
- iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
- return-object v0
- .end method
- .method public hasDeadline()Z
- .locals 1
- 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 1
- if-eqz p1, :cond_0
- iput-object p1, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
- return-object p0
- :cond_0
- new-instance p1, Ljava/lang/IllegalArgumentException;
- const-string v0, "delegate == null"
- invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
- throw p1
- .end method
- .method public throwIfReached()V
- .locals 1
- .annotation system Ldalvik/annotation/Throws;
- value = {
- Ljava/io/IOException;
- }
- .end annotation
- iget-object v0, p0, Lokio/ForwardingTimeout;->delegate:Lokio/Timeout;
- invoke-virtual {v0}, Lokio/Timeout;->throwIfReached()V
- return-void
- .end method
- .method public timeout(JLjava/util/concurrent/TimeUnit;)Lokio/Timeout;
- .locals 1
- 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 p1
- return-object p1
- .end method
- .method public timeoutNanos()J
- .locals 2
- 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
|