g.smali

.class abstract Lcom/squareup/okhttp/internal/http/g;
.super Ljava/lang/Object;
.source "Http1xStream.java"

# interfaces
.implements Lokio/s;


# instance fields
.field private bzY:Lokio/j;

.field private synthetic bzZ:Lcom/squareup/okhttp/internal/http/f;

.field protected closed:Z


# direct methods
.method private constructor <init>(Lcom/squareup/okhttp/internal/http/f;)V
    .registers 4

    .prologue
    .line 343
    iput-object p1, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 344
    new-instance v0, Lokio/j;

    iget-object v1, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    .line 1061
    iget-object v1, v1, Lcom/squareup/okhttp/internal/http/f;->byt:Lokio/f;

    .line 344
    invoke-interface {v1}, Lokio/f;->timeout()Lokio/t;

    move-result-object v1

    invoke-direct {v0, v1}, Lokio/j;-><init>(Lokio/t;)V

    iput-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzY:Lokio/j;

    return-void
.end method

.method synthetic constructor <init>(Lcom/squareup/okhttp/internal/http/f;B)V
    .registers 3

    .prologue
    .line 343
    invoke-direct {p0, p1}, Lcom/squareup/okhttp/internal/http/g;-><init>(Lcom/squareup/okhttp/internal/http/f;)V

    return-void
.end method


# virtual methods
.method protected final HS()V
    .registers 4

    .prologue
    .line 356
    iget-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    .line 2061
    iget v0, v0, Lcom/squareup/okhttp/internal/http/f;->state:I

    .line 356
    const/4 v1, 0x5

    if-eq v0, v1, :cond_20

    new-instance v0, Ljava/lang/IllegalStateException;

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "state: "

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    .line 3061
    iget v2, v2, Lcom/squareup/okhttp/internal/http/f;->state:I

    .line 356
    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

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

    throw v0

    .line 358
    :cond_20
    iget-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzY:Lokio/j;

    invoke-static {v0}, Lcom/squareup/okhttp/internal/http/f;->a(Lokio/j;)V

    .line 360
    iget-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    .line 4061
    const/4 v1, 0x6

    iput v1, v0, Lcom/squareup/okhttp/internal/http/f;->state:I

    .line 361
    iget-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    .line 5061
    iget-object v0, v0, Lcom/squareup/okhttp/internal/http/f;->bzW:Lcom/squareup/okhttp/internal/http/z;

    .line 361
    if-eqz v0, :cond_39

    .line 362
    iget-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    .line 6061
    iget-object v0, v0, Lcom/squareup/okhttp/internal/http/f;->bzW:Lcom/squareup/okhttp/internal/http/z;

    .line 362
    iget-object v1, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    invoke-virtual {v0, v1}, Lcom/squareup/okhttp/internal/http/z;->a(Lcom/squareup/okhttp/internal/http/s;)V

    .line 364
    :cond_39
    return-void
.end method

.method protected final HT()V
    .registers 4

    .prologue
    const/4 v1, 0x6

    const/4 v2, 0x0

    .line 367
    iget-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    .line 7061
    iget v0, v0, Lcom/squareup/okhttp/internal/http/f;->state:I

    .line 367
    if-ne v0, v1, :cond_9

    .line 374
    :cond_8
    :goto_8
    return-void

    .line 369
    :cond_9
    iget-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    .line 8061
    iput v1, v0, Lcom/squareup/okhttp/internal/http/f;->state:I

    .line 370
    iget-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    .line 9061
    iget-object v0, v0, Lcom/squareup/okhttp/internal/http/f;->bzW:Lcom/squareup/okhttp/internal/http/z;

    .line 370
    if-eqz v0, :cond_8

    .line 371
    iget-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    .line 10061
    iget-object v0, v0, Lcom/squareup/okhttp/internal/http/f;->bzW:Lcom/squareup/okhttp/internal/http/z;

    .line 10220
    const/4 v1, 0x1

    invoke-virtual {v0, v1, v2, v2}, Lcom/squareup/okhttp/internal/http/z;->a(ZZZ)V

    .line 372
    iget-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    .line 11061
    iget-object v0, v0, Lcom/squareup/okhttp/internal/http/f;->bzW:Lcom/squareup/okhttp/internal/http/z;

    .line 372
    iget-object v1, p0, Lcom/squareup/okhttp/internal/http/g;->bzZ:Lcom/squareup/okhttp/internal/http/f;

    invoke-virtual {v0, v1}, Lcom/squareup/okhttp/internal/http/z;->a(Lcom/squareup/okhttp/internal/http/s;)V

    goto :goto_8
.end method

.method public timeout()Lokio/t;
    .registers 2

    .prologue
    .line 348
    iget-object v0, p0, Lcom/squareup/okhttp/internal/http/g;->bzY:Lokio/j;

    return-object v0
.end method