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 classControls how much data remote end can send before an adjustment notification from us is required.static final classControls how much data we can send before an adjustment notification from remote end is required. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Objectprotected final org.slf4j.Loggerprotected final intprotected 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
-