26 lines
541 B
Java
26 lines
541 B
Java
|
package com.google.firebase.firestore.remote;
|
||
|
|
||
|
import com.google.firebase.firestore.remote.Stream.StreamCallback;
|
||
|
import io.grpc.Status;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public interface Stream<CallbackType extends StreamCallback> {
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public enum State {
|
||
|
Initial,
|
||
|
Starting,
|
||
|
Open,
|
||
|
Healthy,
|
||
|
Error,
|
||
|
Backoff
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public interface StreamCallback {
|
||
|
void onClose(Status status);
|
||
|
|
||
|
void onOpen();
|
||
|
}
|
||
|
}
|