tuweni / org.apache.tuweni.discovery / DNSDaemonListener

DNSDaemonListener

@FunctionalInterface interface DNSDaemonListener (source)

Callback listening to updates of the DNS records.

Functions

newRecords

Callback called when the seq is updated on the DNS server

abstract fun newRecords(seq: Long, records: List<EthereumNodeRecord>): Unit