protected class Http2AsyncUpgradeHandler.AsyncPingManager extends 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 IOException
force - Send a ping, even if one was sent recentlyIOException - If an I/O issue prevents the ping from being sentpublic void receivePing(byte[] payload,
boolean ack)
throws IOException
IOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.