Package io.grpc.netty
Class SendPingCommand
java.lang.Object
io.grpc.netty.WriteQueue.AbstractQueuedCommand
io.grpc.netty.SendPingCommand
- All Implemented Interfaces:
WriteQueue.QueuedCommand
Command sent from the transport to the Netty channel to send a PING frame.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientTransport.PingCallback
private final Executor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) ClientTransport.PingCallback
callback()
(package private) Executor
executor()
Methods inherited from class io.grpc.netty.WriteQueue.AbstractQueuedCommand
getLink, promise, promise, run
-
Field Details
-
callback
-
executor
-
-
Constructor Details
-
SendPingCommand
SendPingCommand(ClientTransport.PingCallback callback, Executor executor)
-
-
Method Details
-
callback
ClientTransport.PingCallback callback() -
executor
Executor executor()
-