what-the-bank/sources/io/grpc/internal/ClientTransport.java

25 lines
755 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package io.grpc.internal;
import io.grpc.CallOptions;
import io.grpc.ClientStreamTracer;
import io.grpc.InternalChannelz;
import io.grpc.InternalInstrumented;
import io.grpc.Metadata;
import io.grpc.MethodDescriptor;
import java.util.concurrent.Executor;
/* loaded from: classes6.dex */
public interface ClientTransport extends InternalInstrumented<InternalChannelz.SocketStats> {
/* loaded from: classes6.dex */
public interface PingCallback {
void onFailure(Throwable th);
void onSuccess(long j);
}
ClientStream newStream(MethodDescriptor<?, ?> methodDescriptor, Metadata metadata, CallOptions callOptions, ClientStreamTracer[] clientStreamTracerArr);
void ping(PingCallback pingCallback, Executor executor);
}