51 lines
1.1 KiB
Smali
51 lines
1.1 KiB
Smali
.class public final Lcom/google/firebase/emulators/EmulatedServiceSettings;
|
|
.super Ljava/lang/Object;
|
|
.source "EmulatedServiceSettings.java"
|
|
|
|
|
|
# instance fields
|
|
.field private final host:Ljava/lang/String;
|
|
|
|
.field private final port:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;I)V
|
|
.locals 0
|
|
.param p1 # Ljava/lang/String;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lcom/google/firebase/emulators/EmulatedServiceSettings;->host:Ljava/lang/String;
|
|
|
|
.line 3
|
|
iput p2, p0, Lcom/google/firebase/emulators/EmulatedServiceSettings;->port:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getHost()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/firebase/emulators/EmulatedServiceSettings;->host:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPort()I
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget v0, p0, Lcom/google/firebase/emulators/EmulatedServiceSettings;->port:I
|
|
|
|
return v0
|
|
.end method
|