SshSessionImpl.setClock

void setClock(MonoTime delegate() clock)

Sets the monotonic clock used for handshake deadlines.

Parameters

clockZero-arg delegate returning the current time.