what-the-bank/sources/io/grpc/PartialForwardingClientCall...

43 lines
1.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package io.grpc;
import com.google.common.base.MoreObjects;
/* loaded from: classes6.dex */
abstract class PartialForwardingClientCall<ReqT, RespT> extends ClientCall<ReqT, RespT> {
protected abstract ClientCall<?, ?> delegate();
@Override // io.grpc.ClientCall
public void request(int i) {
delegate().request(i);
}
@Override // io.grpc.ClientCall
public void cancel(String str, Throwable th) {
delegate().cancel(str, th);
}
@Override // io.grpc.ClientCall
public void halfClose() {
delegate().halfClose();
}
@Override // io.grpc.ClientCall
public void setMessageCompression(boolean z) {
delegate().setMessageCompression(z);
}
@Override // io.grpc.ClientCall
public boolean isReady() {
return delegate().isReady();
}
@Override // io.grpc.ClientCall
public Attributes getAttributes() {
return delegate().getAttributes();
}
public String toString() {
return MoreObjects.toStringHelper(this).add("delegate", delegate()).toString();
}
}