Class Http2AsyncUpgradeHandler.AsyncPingManager

    • Constructor Detail

      • AsyncPingManager

        protected AsyncPingManager()
    • Method Detail

      • sendPing

        public void sendPing​(boolean force)
                      throws IOException
        Check to see if a ping was sent recently and, if not, send one.
        Parameters:
        force - Send a ping, even if one was sent recently
        Throws:
        IOException - If an I/O issue prevents the ping from being sent
      • receivePing

        public void receivePing​(byte[] payload,
                                boolean ack)
                         throws IOException
        Throws:
        IOException