CompositeReadableBuffer$ReadOperation.smali
.class abstract Lio/grpc/internal/CompositeReadableBuffer$ReadOperation;
.super Ljava/lang/Object;
.source "CompositeReadableBuffer.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lio/grpc/internal/CompositeReadableBuffer;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x402
name = "ReadOperation"
.end annotation
# instance fields
.field ex:Ljava/io/IOException;
.field final synthetic this$0:Lio/grpc/internal/CompositeReadableBuffer;
.field value:I
# direct methods
.method private constructor <init>(Lio/grpc/internal/CompositeReadableBuffer;)V
.registers 2
.line 1
iput-object p1, p0, Lio/grpc/internal/CompositeReadableBuffer$ReadOperation;->this$0:Lio/grpc/internal/CompositeReadableBuffer;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method synthetic constructor <init>(Lio/grpc/internal/CompositeReadableBuffer;Lio/grpc/internal/CompositeReadableBuffer$1;)V
.registers 3
.line 2
invoke-direct {p0, p1}, Lio/grpc/internal/CompositeReadableBuffer$ReadOperation;-><init>(Lio/grpc/internal/CompositeReadableBuffer;)V
return-void
.end method
# virtual methods
.method final isError()Z
.registers 2
.line 1
iget-object v0, p0, Lio/grpc/internal/CompositeReadableBuffer$ReadOperation;->ex:Ljava/io/IOException;
if-eqz v0, :cond_6
const/4 v0, 0x1
goto :goto_7
:cond_6
const/4 v0, 0x0
:goto_7
return v0
.end method
.method final read(Lio/grpc/internal/ReadableBuffer;I)V
.registers 3
.line 1
:try_start_0
invoke-virtual {p0, p1, p2}, Lio/grpc/internal/CompositeReadableBuffer$ReadOperation;->readInternal(Lio/grpc/internal/ReadableBuffer;I)I
move-result p1
iput p1, p0, Lio/grpc/internal/CompositeReadableBuffer$ReadOperation;->value:I
:try_end_6
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_6} :catch_7
goto :goto_a
:catch_7
move-exception p1
.line 2
iput-object p1, p0, Lio/grpc/internal/CompositeReadableBuffer$ReadOperation;->ex:Ljava/io/IOException;
:goto_a
return-void
.end method
.method abstract readInternal(Lio/grpc/internal/ReadableBuffer;I)I
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method