81 lines
2.2 KiB
Smali
81 lines
2.2 KiB
Smali
.class public abstract Lcom/discord/utilities/websocket/ZLibWebSocketListener$Listener;
|
|
.super Lokhttp3/WebSocketListener;
|
|
.source "ZLibWebSocketListener.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/discord/utilities/websocket/ZLibWebSocketListener;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "Listener"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final rawMessageHandler:Lcom/discord/utilities/websocket/RawMessageHandler;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lokhttp3/WebSocketListener;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getRawMessageHandler()Lcom/discord/utilities/websocket/RawMessageHandler;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/utilities/websocket/ZLibWebSocketListener$Listener;->rawMessageHandler:Lcom/discord/utilities/websocket/RawMessageHandler;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public abstract onInflateError(Ljava/lang/Exception;)V
|
|
.end method
|
|
|
|
.method public abstract onInflatedMessage(Lokhttp3/WebSocket;Ljava/io/InputStreamReader;I)V
|
|
.end method
|
|
|
|
.method public final onMessage(Lokhttp3/WebSocket;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
const-string/jumbo v0, "webSocket"
|
|
|
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string/jumbo p1, "text"
|
|
|
|
invoke-static {p2, p1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final onMessage(Lokhttp3/WebSocket;Lokio/ByteString;)V
|
|
.locals 1
|
|
|
|
const-string/jumbo v0, "webSocket"
|
|
|
|
invoke-static {p1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string p1, "bytes"
|
|
|
|
invoke-static {p2, p1}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
new-instance p1, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
|
|
|
|
throw p1
|
|
.end method
|