net.schmizz.sshj.connection.channel
Class Window
java.lang.Object
net.schmizz.sshj.connection.channel.Window
- Direct Known Subclasses:
- Window.Local, Window.Remote
public abstract class Window
- extends Object
|
Nested Class Summary |
static class |
Window.Local
Controls how much data remote end can send before an adjustment notification from us is required. |
static class |
Window.Remote
Controls how much data we can send before an adjustment notification from remote end is required. |
|
Constructor Summary |
Window(int initialWinSize,
int maxPacketSize)
|
log
protected final org.slf4j.Logger log
lock
protected final Object lock
maxPacketSize
protected final int maxPacketSize
size
protected int size
Window
public Window(int initialWinSize,
int maxPacketSize)
expand
public void expand(int inc)
getMaxPacketSize
public int getMaxPacketSize()
getSize
public int getSize()
consume
public void consume(int dec)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2011. All Rights Reserved.