ServerInterceptors$2$1.smali
.class Lio/grpc/ServerInterceptors$2$1;
.super Lio/grpc/PartialForwardingServerCall;
.source "ServerInterceptors.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lio/grpc/ServerInterceptors$2;->startCall(Lio/grpc/ServerCall;Lio/grpc/Metadata;)Lio/grpc/ServerCall$Listener;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lio/grpc/PartialForwardingServerCall<",
"TOReqT;TORespT;>;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lio/grpc/ServerInterceptors$2;
.field final synthetic val$call:Lio/grpc/ServerCall;
# direct methods
.method constructor <init>(Lio/grpc/ServerInterceptors$2;Lio/grpc/ServerCall;)V
.registers 3
.line 1
iput-object p1, p0, Lio/grpc/ServerInterceptors$2$1;->this$0:Lio/grpc/ServerInterceptors$2;
iput-object p2, p0, Lio/grpc/ServerInterceptors$2$1;->val$call:Lio/grpc/ServerCall;
invoke-direct {p0}, Lio/grpc/PartialForwardingServerCall;-><init>()V
return-void
.end method
# virtual methods
.method protected delegate()Lio/grpc/ServerCall;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lio/grpc/ServerCall<",
"TWReqT;TWRespT;>;"
}
.end annotation
.line 1
iget-object v0, p0, Lio/grpc/ServerInterceptors$2$1;->val$call:Lio/grpc/ServerCall;
return-object v0
.end method
.method public getMethodDescriptor()Lio/grpc/MethodDescriptor;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lio/grpc/MethodDescriptor<",
"TOReqT;TORespT;>;"
}
.end annotation
.line 1
iget-object v0, p0, Lio/grpc/ServerInterceptors$2$1;->this$0:Lio/grpc/ServerInterceptors$2;
iget-object v0, v0, Lio/grpc/ServerInterceptors$2;->val$originalMethod:Lio/grpc/MethodDescriptor;
return-object v0
.end method
.method public sendMessage(Ljava/lang/Object;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TORespT;)V"
}
.end annotation
.line 1
iget-object v0, p0, Lio/grpc/ServerInterceptors$2$1;->this$0:Lio/grpc/ServerInterceptors$2;
iget-object v0, v0, Lio/grpc/ServerInterceptors$2;->val$originalMethod:Lio/grpc/MethodDescriptor;
invoke-virtual {v0, p1}, Lio/grpc/MethodDescriptor;->streamResponse(Ljava/lang/Object;)Ljava/io/InputStream;
move-result-object p1
.line 2
iget-object v0, p0, Lio/grpc/ServerInterceptors$2$1;->this$0:Lio/grpc/ServerInterceptors$2;
iget-object v0, v0, Lio/grpc/ServerInterceptors$2;->val$wrappedMethod:Lio/grpc/MethodDescriptor;
invoke-virtual {v0, p1}, Lio/grpc/MethodDescriptor;->parseResponse(Ljava/io/InputStream;)Ljava/lang/Object;
move-result-object p1
.line 3
invoke-virtual {p0}, Lio/grpc/ServerInterceptors$2$1;->delegate()Lio/grpc/ServerCall;
move-result-object v0
invoke-virtual {v0, p1}, Lio/grpc/ServerCall;->sendMessage(Ljava/lang/Object;)V
return-void
.end method