Http2Connection$pushRequestLater$$inlined$execute$1.smali
.class public final Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;
.super Lokhttp3/internal/concurrent/Task;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/internal/http2/Http2Connection;->i0(ILjava/util/List;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
# instance fields
.field final synthetic e:Lokhttp3/internal/http2/Http2Connection;
.field final synthetic f:I
.field final synthetic g:Ljava/util/List;
# direct methods
.method public constructor <init>(Ljava/lang/String;ZLjava/lang/String;ZLokhttp3/internal/http2/Http2Connection;ILjava/util/List;)V
.registers 8
iput-object p5, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->e:Lokhttp3/internal/http2/Http2Connection;
iput p6, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->f:I
iput-object p7, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->g:Ljava/util/List;
invoke-direct {p0, p3, p4}, Lokhttp3/internal/concurrent/Task;-><init>(Ljava/lang/String;Z)V
return-void
.end method
# virtual methods
.method public f()J
.registers 4
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->e:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v0}, Lokhttp3/internal/http2/Http2Connection;->k(Lokhttp3/internal/http2/Http2Connection;)Lokhttp3/internal/http2/PushObserver;
move-result-object v0
iget v1, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->f:I
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->g:Ljava/util/List;
invoke-interface {v0, v1, v2}, Lokhttp3/internal/http2/PushObserver;->a(ILjava/util/List;)Z
move-result v0
if-eqz v0, :cond_34
:try_start_10
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->e:Lokhttp3/internal/http2/Http2Connection;
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Connection;->Y()Lokhttp3/internal/http2/Http2Writer;
move-result-object v0
iget v1, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->f:I
sget-object v2, Lokhttp3/internal/http2/ErrorCode;->l:Lokhttp3/internal/http2/ErrorCode;
invoke-virtual {v0, v1, v2}, Lokhttp3/internal/http2/Http2Writer;->p(ILokhttp3/internal/http2/ErrorCode;)V
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->e:Lokhttp3/internal/http2/Http2Connection;
monitor-enter v0
:try_end_20
.catch Ljava/io/IOException; {:try_start_10 .. :try_end_20} :catch_34
:try_start_20
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->e:Lokhttp3/internal/http2/Http2Connection;
invoke-static {v1}, Lokhttp3/internal/http2/Http2Connection;->d(Lokhttp3/internal/http2/Http2Connection;)Ljava/util/Set;
move-result-object v1
iget v2, p0, Lokhttp3/internal/http2/Http2Connection$pushRequestLater$$inlined$execute$1;->f:I
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-interface {v1, v2}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z
:try_end_2f
.catchall {:try_start_20 .. :try_end_2f} :catchall_31
:try_start_2f
monitor-exit v0
goto :goto_34
:catchall_31
move-exception v1
monitor-exit v0
throw v1
:try_end_34
.catch Ljava/io/IOException; {:try_start_2f .. :try_end_34} :catch_34
:catch_34
:cond_34
:goto_34
const-wide/16 v0, -0x1
return-wide v0
.end method