PingResult

Types

Link copied to clipboard
data class Failure(val cause: Throwable) : PingResult

An error occurred while sending the ping or waiting for the reply.

Link copied to clipboard

There is no active authenticated connection.

Link copied to clipboard
data object NotSupported : PingResult

The server did not advertise ping support via SSH2_MSG_EXT_INFO.

Link copied to clipboard
data class Success(val elapsedNs: Long) : PingResult

The server replied; elapsedNs is the round-trip time in nanoseconds.