SshSessionImpl.setRekeyLimits

void setRekeyLimits(SshRekeyConfig config)

Configures automatic rekey thresholds; non-positive members revert that threshold to the default.

Parameters

configRequested byte, packet, interval, and timeout limits.