code/comment cleanup

This commit is contained in:
Robinson 2023-02-10 21:20:53 +01:00
parent ee25f0d2ce
commit c289f02cb9
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
2 changed files with 6 additions and 4 deletions

View File

@ -644,7 +644,7 @@ open class Client<CONNECTION : Connection>(
throw exception
}
// every time we connect to a server, we have to reconfigure AND reassign the readKryo.
// every time we connect to a server, we have to reconfigure AND reassign the readKryos.
readKryo = kryoConfiguredFromServer
streamingReadKryo = serialization.initKryo()

View File

@ -109,6 +109,8 @@ internal class ServerUdpPairedDriver(
}
}
val subscription = aeronDriver.addSubscription(subscriptionUri, streamId)
val remoteAddressString = if (isRemoteIpv4) {
IPv4.toString(remoteAddress as Inet4Address)
} else {
@ -119,6 +121,6 @@ internal class ServerUdpPairedDriver(
this.success = true
this.publication = publication
this.subscription = aeronDriver.addSubscription(subscriptionUri, streamId)
this.subscription = subscription
}
}