116 lines
3.0 KiB
Smali
116 lines
3.0 KiB
Smali
.class Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus$DisconnectedEventBus;
|
|
.super Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "DisconnectedEventBus"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 162
|
|
invoke-direct {p0}, Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus$1;)V
|
|
.locals 0
|
|
|
|
.line 162
|
|
invoke-direct {p0}, Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus$DisconnectedEventBus;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public globalToken()Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public isConnected()Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public publish(Ljava/lang/Object;Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus$Event;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public subscribe(Ljava/lang/Object;Ljava/lang/String;Ljava/util/Collection;Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus$IEventHandler;)Ljava/lang/Object;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Object;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Collection<",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus$IEventHandler;",
|
|
")",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
|
|
const/4 p3, 0x0
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
.line 172
|
|
:try_start_0
|
|
new-instance v0, Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus$Event;
|
|
|
|
const-string v1, "#me"
|
|
|
|
const-string v2, "unsubscribed"
|
|
|
|
const-string v3, "@eb.disconnected"
|
|
|
|
invoke-direct {v0, v1, v2, v3, p3}, Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus$Event;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;)V
|
|
|
|
invoke-interface {p4, p0, p1, p2, v0}, Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus$IEventHandler;->handleEvent(Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus;Ljava/lang/Object;Ljava/lang/String;Lcom/glu/plugins/gluanalytics/eventbus/GluEventBus$Event;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
const-string p2, "DisconnectedEventBus"
|
|
|
|
const-string p4, "Failed to destroy handler"
|
|
|
|
.line 174
|
|
invoke-static {p2, p4, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
:cond_0
|
|
:goto_0
|
|
return-object p3
|
|
.end method
|
|
|
|
.method public unsubscribe(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|