s.smali

.class final Lokhttp3/internal/http2/s;
.super Lokio/a;
.source "Http2Stream.java"


# instance fields
.field private synthetic bYp:Lokhttp3/internal/http2/p;


# direct methods
.method constructor <init>(Lokhttp3/internal/http2/p;)V
    .registers 2

    .prologue
    .line 587
    iput-object p1, p0, Lokhttp3/internal/http2/s;->bYp:Lokhttp3/internal/http2/p;

    invoke-direct {p0}, Lokio/a;-><init>()V

    return-void
.end method


# virtual methods
.method protected final Hx()V
    .registers 3

    .prologue
    .line 589
    iget-object v0, p0, Lokhttp3/internal/http2/s;->bYp:Lokhttp3/internal/http2/p;

    sget-object v1, Lokhttp3/internal/http2/ErrorCode;->CANCEL:Lokhttp3/internal/http2/ErrorCode;

    invoke-virtual {v0, v1}, Lokhttp3/internal/http2/p;->c(Lokhttp3/internal/http2/ErrorCode;)V

    .line 590
    return-void
.end method

.method public final Hy()V
    .registers 2

    .prologue
    .line 601
    invoke-virtual {p0}, Lokhttp3/internal/http2/s;->Se()Z

    move-result v0

    if-eqz v0, :cond_c

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lokhttp3/internal/http2/s;->a(Ljava/io/IOException;)Ljava/io/IOException;

    move-result-object v0

    throw v0

    .line 602
    :cond_c
    return-void
.end method

.method protected final a(Ljava/io/IOException;)Ljava/io/IOException;
    .registers 4

    .prologue
    .line 593
    new-instance v0, Ljava/net/SocketTimeoutException;

    const-string v1, "timeout"

    invoke-direct {v0, v1}, Ljava/net/SocketTimeoutException;-><init>(Ljava/lang/String;)V

    .line 594
    if-eqz p1, :cond_c

    .line 595
    invoke-virtual {v0, p1}, Ljava/net/SocketTimeoutException;->initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;

    .line 597
    :cond_c
    return-object v0
.end method