Class Window
java.lang.Object
net.schmizz.sshj.connection.channel.Window
- Direct Known Subclasses:
Window.Local
,Window.Remote
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Controls how much data remote end can send before an adjustment notification from us is required.static final class
Controls how much data we can send before an adjustment notification from remote end is required. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Object
protected final org.slf4j.Logger
protected final int
protected long
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
log
protected final org.slf4j.Logger log -
lock
-
maxPacketSize
protected final int maxPacketSize -
size
protected long size
-
-
Constructor Details
-
Window
-
-
Method Details
-
expand
public void expand(long inc) -
getMaxPacketSize
public int getMaxPacketSize() -
getSize
public long getSize() -
consume
- Throws:
ConnectionException
-
toString
-