protected class Http2AsyncUpgradeHandler.AsyncPingManager
extends java.lang.Object
Modifier | Constructor | Description |
---|---|---|
protected |
AsyncPingManager() |
Modifier and Type | Method | 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.IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.