DeviceIpState

data class DeviceIpState(val observations: Map<String, String> = emptyMap(), val schedules: Map<String, DeviceIpState.Schedule> = emptyMap(), val hasSeenIpV6: Boolean = false)(source)

The device's public IP addresses seen this session, and when each lookup is next due.

Constructors

Link copied to clipboard
constructor(observations: Map<String, String> = emptyMap(), schedules: Map<String, DeviceIpState.Schedule> = emptyMap(), hasSeenIpV6: Boolean = false)

Types

Link copied to clipboard
data class Schedule(val lastAttempt: Long, val nextAttemptAt: Long)

Properties

Link copied to clipboard

Whether an IPv6 address has been seen this session. Kept after that address goes stale, since enrichment may not run again this session.

Link copied to clipboard

The latest address of each family and when it was seen, under ipV4, ipV4ObservedAt and so on.

Link copied to clipboard

Each lookup's schedule, by lookup name.