what-the-bank/sources/io/grpc/ClientCall.java

42 lines
883 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package io.grpc;
/* loaded from: classes6.dex */
public abstract class ClientCall<ReqT, RespT> {
/* loaded from: classes6.dex */
public static abstract class Listener<T> {
public void onClose(Status status, Metadata metadata) {
}
public void onHeaders(Metadata metadata) {
}
public void onMessage(T t) {
}
public void onReady() {
}
}
public abstract void cancel(String str, Throwable th);
public abstract void halfClose();
public boolean isReady() {
return true;
}
public abstract void request(int i);
public abstract void sendMessage(ReqT reqt);
public void setMessageCompression(boolean z) {
}
public abstract void start(Listener<RespT> listener, Metadata metadata);
public Attributes getAttributes() {
return Attributes.EMPTY;
}
}