Class Window.Remote

  • Enclosing class:
    Window

    public static final class Window.Remote
    extends Window
    Controls how much data we can send before an adjustment notification from remote end is required.
    • Constructor Summary

      Constructors 
      Constructor Description
      Remote​(long initialWinSize, int maxPacketSize, long timeoutMs, LoggerFactory loggerFactory)  
    • Method Summary

      Modifier and Type Method Description
      long awaitExpansion​(long was)  
      void consume​(long howMuch)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Remote

        public Remote​(long initialWinSize,
                      int maxPacketSize,
                      long timeoutMs,
                      LoggerFactory loggerFactory)