tuweni / org.apache.tuweni.devp2p / Peer / seenAt

seenAt

abstract fun seenAt(time: Long): Unit (source)

Set the lastSeen time to the current time.

Will only update lastSeen if the new time is more recent than their current values.

Parameters

time - the time when the endpoint was verified, in milliseconds since the epoch

Exceptions

IllegalStateException - if there is no endpoint for this peer