25 lines
755 B
Java
25 lines
755 B
Java
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);
|
|
}
|