net.schmizz.sshj.connection.channel
Class Window.Remote

java.lang.Object
  extended by net.schmizz.sshj.connection.channel.Window
      extended by net.schmizz.sshj.connection.channel.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.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.schmizz.sshj.connection.channel.Window
Window.Local, Window.Remote
 
Field Summary
 
Fields inherited from class net.schmizz.sshj.connection.channel.Window
lock, log, maxPacketSize, size
 
Constructor Summary
Window.Remote(long initialWinSize, int maxPacketSize)
           
 
Method Summary
 long awaitExpansion(long was)
           
 void consume(long howMuch)
           
 
Methods inherited from class net.schmizz.sshj.connection.channel.Window
expand, getMaxPacketSize, getSize, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Window.Remote

public Window.Remote(long initialWinSize,
                     int maxPacketSize)
Method Detail

awaitExpansion

public long awaitExpansion(long was)
                    throws ConnectionException
Throws:
ConnectionException

consume

public void consume(long howMuch)
Overrides:
consume in class Window


Copyright © 2009-2012. All Rights Reserved.