ConnectionIdentity
data class ConnectionIdentity(val sessionGeneration: Long, val address: String, val nodeNum: Int, val deviceId: String?)(source)
Fresh-handshake identity for one connection session. Separate from the general NodeManager.myNodeNum/ NodeManager.myDeviceId StateFlows, which can retain stale cached values across transport switches. address, nodeNum, and deviceId are captured from one selected transport and one MyNodeInfo handshake so consumers never have to combine independently delivered address and identity flows. sessionGeneration is the active transport session generation at handshake time, so the association collector can discard an identity retained from a previous transport instance even if every other field is equal.