Creates a new ping operation. The caller is responsible for sending a ping on an HTTP/2 channel using the given payload. The caller is also responsible for starting the stopwatch when the PING frame is sent. @param data the ping payload @param stopwatch a stopwatch for measuring round-trip time
(long data, Stopwatch stopwatch)
| 80 | * @param stopwatch a stopwatch for measuring round-trip time |
| 81 | */ |
| 82 | public Http2Ping(long data, Stopwatch stopwatch) { |
| 83 | this.data = data; |
| 84 | this.stopwatch = stopwatch; |
| 85 | } |
| 86 | |
| 87 | /** |
| 88 | * Registers a callback that is invoked when the ping operation completes. If this ping operation |
nothing calls this directly
no outgoing calls
no test coverage detected