SshSession.setClock
void setClock(MonoTime delegate() clock)Sets the monotonic clock used for keepalive, rekey, and handshake deadlines. Tests inject a deterministic clock; the default is the wall-clock MonoTime.currTime.
Parameters
clock | Zero-arg delegate returning the current monotonic time. |