protected class Http2AsyncUpgradeHandler.AsyncPingManager
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
AsyncPingManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
receivePing(byte[] payload,
boolean ack) |
void |
sendPing(boolean force)
Check to see if a ping was sent recently and, if not, send one.
|
public void sendPing(boolean force)
throws java.io.IOException
force - Send a ping, even if one was sent recentlyjava.io.IOException - If an I/O issue prevents the ping from being sentpublic void receivePing(byte[] payload,
boolean ack)
throws java.io.IOException
java.io.IOExceptionCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.