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

104 lines
3.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package io.grpc;
import io.grpc.ClientCall;
/* loaded from: classes6.dex */
public abstract class ForwardingClientCall<ReqT, RespT> extends PartialForwardingClientCall<ReqT, RespT> {
@Override // io.grpc.PartialForwardingClientCall
protected abstract ClientCall<ReqT, RespT> delegate();
@Override // io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ void cancel(String str, Throwable th) {
super.cancel(str, th);
}
@Override // io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ Attributes getAttributes() {
return super.getAttributes();
}
@Override // io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ void halfClose() {
super.halfClose();
}
@Override // io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ boolean isReady() {
return super.isReady();
}
@Override // io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ void request(int i) {
super.request(i);
}
@Override // io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ void setMessageCompression(boolean z) {
super.setMessageCompression(z);
}
@Override // io.grpc.PartialForwardingClientCall
public /* bridge */ /* synthetic */ String toString() {
return super.toString();
}
@Override // io.grpc.ClientCall
public void start(ClientCall.Listener<RespT> listener, Metadata metadata) {
delegate().start(listener, metadata);
}
@Override // io.grpc.ClientCall
public void sendMessage(ReqT reqt) {
delegate().sendMessage(reqt);
}
/* loaded from: classes6.dex */
public static abstract class SimpleForwardingClientCall<ReqT, RespT> extends ForwardingClientCall<ReqT, RespT> {
private final ClientCall<ReqT, RespT> delegate;
@Override // io.grpc.ForwardingClientCall, io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ void cancel(String str, Throwable th) {
super.cancel(str, th);
}
@Override // io.grpc.ForwardingClientCall, io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ Attributes getAttributes() {
return super.getAttributes();
}
@Override // io.grpc.ForwardingClientCall, io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ void halfClose() {
super.halfClose();
}
@Override // io.grpc.ForwardingClientCall, io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ boolean isReady() {
return super.isReady();
}
@Override // io.grpc.ForwardingClientCall, io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ void request(int i) {
super.request(i);
}
@Override // io.grpc.ForwardingClientCall, io.grpc.PartialForwardingClientCall, io.grpc.ClientCall
public /* bridge */ /* synthetic */ void setMessageCompression(boolean z) {
super.setMessageCompression(z);
}
@Override // io.grpc.ForwardingClientCall, io.grpc.PartialForwardingClientCall
public /* bridge */ /* synthetic */ String toString() {
return super.toString();
}
public SimpleForwardingClientCall(ClientCall<ReqT, RespT> clientCall) {
this.delegate = clientCall;
}
@Override // io.grpc.ForwardingClientCall, io.grpc.PartialForwardingClientCall
protected ClientCall<ReqT, RespT> delegate() {
return this.delegate;
}
}
}