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