Uses of Interface
io.grpc.internal.ClientTransport.PingCallback
Packages that use ClientTransport.PingCallback
Package
Description
The in-process transport which is for when a server is in the same process as the client.
Interfaces and implementations that are internal to gRPC.
The main transport implementation based on Netty,
for both the client and the server.
-
Uses of ClientTransport.PingCallback in io.grpc.inprocess
Methods in io.grpc.inprocess with parameters of type ClientTransport.PingCallbackModifier and TypeMethodDescriptionvoid
InProcessTransport.ping
(ClientTransport.PingCallback callback, Executor executor) -
Uses of ClientTransport.PingCallback in io.grpc.internal
Fields in io.grpc.internal with type parameters of type ClientTransport.PingCallbackModifier and TypeFieldDescriptionprivate Map
<ClientTransport.PingCallback, Executor> Http2Ping.callbacks
The registered callbacks and the executor used to invoke them.Methods in io.grpc.internal with parameters of type ClientTransport.PingCallbackModifier and TypeMethodDescriptionvoid
Http2Ping.addCallback
(ClientTransport.PingCallback callback, Executor executor) Registers a callback that is invoked when the ping operation completes.private static Runnable
Http2Ping.asRunnable
(ClientTransport.PingCallback callback, long roundTripTimeNanos) Returns a runnable that, when run, invokes the given callback, providing the given round-trip duration.private static Runnable
Http2Ping.asRunnable
(ClientTransport.PingCallback callback, Throwable failureCause) Returns a runnable that, when run, invokes the given callback, providing the given cause of failure.static void
Http2Ping.notifyFailed
(ClientTransport.PingCallback callback, Executor executor, Throwable cause) Notifies the given callback that the ping operation failed.void
ClientTransport.ping
(ClientTransport.PingCallback callback, Executor executor) Pings a remote endpoint.final void
DelayedClientTransport.ping
(ClientTransport.PingCallback callback, Executor executor) void
FailingClientTransport.ping
(ClientTransport.PingCallback callback, Executor executor) void
ForwardingConnectionClientTransport.ping
(ClientTransport.PingCallback callback, Executor executor) -
Uses of ClientTransport.PingCallback in io.grpc.netty
Fields in io.grpc.netty declared as ClientTransport.PingCallbackModifier and TypeFieldDescriptionprivate final ClientTransport.PingCallback
SendPingCommand.callback
Methods in io.grpc.netty that return ClientTransport.PingCallbackModifier and TypeMethodDescription(package private) ClientTransport.PingCallback
SendPingCommand.callback()
Methods in io.grpc.netty with parameters of type ClientTransport.PingCallbackModifier and TypeMethodDescriptionvoid
NettyClientTransport.ping
(ClientTransport.PingCallback callback, Executor executor) Constructors in io.grpc.netty with parameters of type ClientTransport.PingCallbackModifierConstructorDescription(package private)
SendPingCommand
(ClientTransport.PingCallback callback, Executor executor)