mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
129 lines
4.7 KiB
Smali
129 lines
4.7 KiB
Smali
|
.class final Lio/flutter/plugin/common/BasicMessageChannel$IncomingMessageHandler;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "BasicMessageChannel.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lio/flutter/plugin/common/BinaryMessenger$BinaryMessageHandler;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lio/flutter/plugin/common/BasicMessageChannel;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x12
|
||
|
name = "IncomingMessageHandler"
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private final handler:Lio/flutter/plugin/common/BasicMessageChannel$MessageHandler;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lio/flutter/plugin/common/BasicMessageChannel$MessageHandler<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field final synthetic this$0:Lio/flutter/plugin/common/BasicMessageChannel;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method private constructor <init>(Lio/flutter/plugin/common/BasicMessageChannel;Lio/flutter/plugin/common/BasicMessageChannel$MessageHandler;)V
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Lio/flutter/plugin/common/BasicMessageChannel$MessageHandler<",
|
||
|
"TT;>;)V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
iput-object p1, p0, Lio/flutter/plugin/common/BasicMessageChannel$IncomingMessageHandler;->this$0:Lio/flutter/plugin/common/BasicMessageChannel;
|
||
|
|
||
|
.line 254
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p2, p0, Lio/flutter/plugin/common/BasicMessageChannel$IncomingMessageHandler;->handler:Lio/flutter/plugin/common/BasicMessageChannel$MessageHandler;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method synthetic constructor <init>(Lio/flutter/plugin/common/BasicMessageChannel;Lio/flutter/plugin/common/BasicMessageChannel$MessageHandler;Lio/flutter/plugin/common/BasicMessageChannel$1;)V
|
||
|
.locals 0
|
||
|
|
||
|
.line 251
|
||
|
invoke-direct {p0, p1, p2}, Lio/flutter/plugin/common/BasicMessageChannel$IncomingMessageHandler;-><init>(Lio/flutter/plugin/common/BasicMessageChannel;Lio/flutter/plugin/common/BasicMessageChannel$MessageHandler;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public onMessage(Ljava/nio/ByteBuffer;Lio/flutter/plugin/common/BinaryMessenger$BinaryReply;)V
|
||
|
.locals 2
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object v0, p0, Lio/flutter/plugin/common/BasicMessageChannel$IncomingMessageHandler;->handler:Lio/flutter/plugin/common/BasicMessageChannel$MessageHandler;
|
||
|
|
||
|
iget-object v1, p0, Lio/flutter/plugin/common/BasicMessageChannel$IncomingMessageHandler;->this$0:Lio/flutter/plugin/common/BasicMessageChannel;
|
||
|
|
||
|
.line 262
|
||
|
invoke-static {v1}, Lio/flutter/plugin/common/BasicMessageChannel;->access$200(Lio/flutter/plugin/common/BasicMessageChannel;)Lio/flutter/plugin/common/MessageCodec;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-interface {v1, p1}, Lio/flutter/plugin/common/MessageCodec;->decodeMessage(Ljava/nio/ByteBuffer;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
new-instance v1, Lio/flutter/plugin/common/BasicMessageChannel$IncomingMessageHandler$1;
|
||
|
|
||
|
invoke-direct {v1, p0, p2}, Lio/flutter/plugin/common/BasicMessageChannel$IncomingMessageHandler$1;-><init>(Lio/flutter/plugin/common/BasicMessageChannel$IncomingMessageHandler;Lio/flutter/plugin/common/BinaryMessenger$BinaryReply;)V
|
||
|
|
||
|
.line 261
|
||
|
invoke-interface {v0, p1, v1}, Lio/flutter/plugin/common/BasicMessageChannel$MessageHandler;->onMessage(Ljava/lang/Object;Lio/flutter/plugin/common/BasicMessageChannel$Reply;)V
|
||
|
:try_end_0
|
||
|
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:catch_0
|
||
|
move-exception p1
|
||
|
|
||
|
.line 270
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, "BasicMessageChannel#"
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p0, p0, Lio/flutter/plugin/common/BasicMessageChannel$IncomingMessageHandler;->this$0:Lio/flutter/plugin/common/BasicMessageChannel;
|
||
|
|
||
|
invoke-static {p0}, Lio/flutter/plugin/common/BasicMessageChannel;->access$300(Lio/flutter/plugin/common/BasicMessageChannel;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string v0, "Failed to handle message"
|
||
|
|
||
|
invoke-static {p0, v0, p1}, Lio/flutter/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||
|
|
||
|
const/4 p0, 0x0
|
||
|
|
||
|
.line 271
|
||
|
invoke-interface {p2, p0}, Lio/flutter/plugin/common/BinaryMessenger$BinaryReply;->reply(Ljava/nio/ByteBuffer;)V
|
||
|
|
||
|
:goto_0
|
||
|
return-void
|
||
|
.end method
|