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(int initialWinSize, int maxPacketSize)
           
 
Method Summary
 void waitAndConsume(int howMuch)
           
 
Methods inherited from class net.schmizz.sshj.connection.channel.Window
consume, 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(int initialWinSize,
                     int maxPacketSize)
Method Detail

waitAndConsume

public void waitAndConsume(int howMuch)
                    throws ConnectionException
Throws:
ConnectionException


Copyright © 2009-2011. All Rights Reserved.