NullServerListProvider

Author

lngtr

Since

2018-02-20

Constructors

Link copied to clipboard
constructor()

A server list provider that returns an empty list, for consumers that populate the server list themselves

Properties

Link copied to clipboard
open override val lastServerListRefresh: Instant

Always returns Instant.MIN

Functions

Link copied to clipboard
open override fun fetchServerList(): List<ServerRecord>

No-op implementation that returns an empty server list

Link copied to clipboard
open override fun updateServerList(endpoints: List<ServerRecord>)

No-op implementation that does not persist server list