RealWebSocket$1.smali
.class Ldc/squareup/okhttp3/internal/ws/RealWebSocket$1;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Ldc/squareup/okhttp3/internal/ws/RealWebSocket;-><init>(Ldc/squareup/okhttp3/Request;Ldc/squareup/okhttp3/WebSocketListener;Ljava/util/Random;J)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Ldc/squareup/okhttp3/internal/ws/RealWebSocket;
# direct methods
.method constructor <init>(Ldc/squareup/okhttp3/internal/ws/RealWebSocket;)V
.registers 2
.line 1
iput-object p1, p0, Ldc/squareup/okhttp3/internal/ws/RealWebSocket$1;->this$0:Ldc/squareup/okhttp3/internal/ws/RealWebSocket;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.registers 4
.line 1
:goto_0
:try_start_0
iget-object v0, p0, Ldc/squareup/okhttp3/internal/ws/RealWebSocket$1;->this$0:Ldc/squareup/okhttp3/internal/ws/RealWebSocket;
invoke-virtual {v0}, Ldc/squareup/okhttp3/internal/ws/RealWebSocket;->writeOneFrame()Z
move-result v0
:try_end_6
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_6} :catch_9
if-eqz v0, :cond_10
goto :goto_0
:catch_9
move-exception v0
.line 4
iget-object v1, p0, Ldc/squareup/okhttp3/internal/ws/RealWebSocket$1;->this$0:Ldc/squareup/okhttp3/internal/ws/RealWebSocket;
const/4 v2, 0x0
invoke-virtual {v1, v0, v2}, Ldc/squareup/okhttp3/internal/ws/RealWebSocket;->failWebSocket(Ljava/lang/Exception;Ldc/squareup/okhttp3/Response;)V
:cond_10
return-void
.end method