.class public final Lokhttp3/internal/http2/Http2Connection$IntervalPingRunnable; .super Lokhttp3/internal/NamedRunnable; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lokhttp3/internal/http2/Http2Connection; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x11 name = "IntervalPingRunnable" .end annotation # instance fields .field public final synthetic this$0:Lokhttp3/internal/http2/Http2Connection; # direct methods .method public constructor (Lokhttp3/internal/http2/Http2Connection;)V .locals 1 iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection$IntervalPingRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection; .line 388 iget-object p1, p1, Lokhttp3/internal/http2/Http2Connection;->connectionName:Ljava/lang/String; filled-new-array {p1}, [Ljava/lang/Object; move-result-object p1 const-string v0, "OkHttp %s ping" invoke-direct {p0, v0, p1}, Lokhttp3/internal/NamedRunnable;->(Ljava/lang/String;[Ljava/lang/Object;)V return-void .end method # virtual methods .method public execute()V .locals 5 iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$IntervalPingRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection; .line 393 monitor-enter v0 :try_start_0 iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$IntervalPingRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection; .line 394 invoke-static {v1}, Lokhttp3/internal/http2/Http2Connection;->access$100(Lokhttp3/internal/http2/Http2Connection;)J move-result-wide v1 iget-object v3, p0, Lokhttp3/internal/http2/Http2Connection$IntervalPingRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection; invoke-static {v3}, Lokhttp3/internal/http2/Http2Connection;->access$200(Lokhttp3/internal/http2/Http2Connection;)J move-result-wide v3 cmp-long v1, v1, v3 const/4 v2, 0x1 const/4 v3, 0x0 if-gez v1, :cond_0 move v1, v2 goto :goto_0 :cond_0 iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection$IntervalPingRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection; .line 397 invoke-static {v1}, Lokhttp3/internal/http2/Http2Connection;->access$208(Lokhttp3/internal/http2/Http2Connection;)J move v1, v3 .line 400 :goto_0 monitor-exit v0 :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 if-eqz v1, :cond_1 iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$IntervalPingRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection; const/4 v1, 0x0 .line 402 invoke-static {v0, v1}, Lokhttp3/internal/http2/Http2Connection;->access$000(Lokhttp3/internal/http2/Http2Connection;Ljava/io/IOException;)V goto :goto_1 :cond_1 iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection$IntervalPingRunnable;->this$0:Lokhttp3/internal/http2/Http2Connection; .line 404 invoke-virtual {v0, v3, v2, v3}, Lokhttp3/internal/http2/Http2Connection;->writePing(ZII)V :goto_1 return-void :catchall_0 move-exception v1 .line 400 :try_start_1 monitor-exit v0 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 throw v1 .end method