public abstract class

Window

extends Object
java.lang.Object
   ↳ net.schmizz.sshj.connection.channel.Window
Known Direct Subclasses

Summary

Nested Classes
class Window.Local Controls how much data remote end can send before an adjustment notification from us is required. 
class Window.Remote Controls how much data we can send before an adjustment notification from remote end is required. 
Fields
protected final Object lock
protected final Logger log
protected final int maxPacketSize
protected long size
Public Constructors
Window(long initialWinSize, int maxPacketSize)
Public Methods
void consume(long dec)
void expand(long inc)
int getMaxPacketSize()
long getSize()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final Object lock

protected final Logger log

protected final int maxPacketSize

protected long size

Public Constructors

public Window (long initialWinSize, int maxPacketSize)

Parameters
initialWinSize
maxPacketSize

Public Methods

public void consume (long dec)

Parameters
dec

public void expand (long inc)

Parameters
inc

public int getMaxPacketSize ()

public long getSize ()

public String toString ()