version 6.7

This commit is contained in:
Robinson 2023-08-11 16:23:49 -06:00
parent c856c23e3c
commit c95e811fde
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
5 changed files with 7 additions and 24 deletions

View File

@ -72,7 +72,7 @@ Maven Info
<dependency>
<groupId>com.dorkbox</groupId>
<artifactId>Network</artifactId>
<version>6.6</version>
<version>6.7</version>
</dependency>
</dependencies>
```
@ -82,7 +82,7 @@ Gradle Info
```
dependencies {
...
implementation("com.dorkbox:Network:6.6")
implementation("com.dorkbox:Network:6.7")
}
```

View File

@ -37,7 +37,7 @@ object Extras {
// set for the project
const val description = "High-performance, event-driven/reactive network stack for Java 11+"
const val group = "com.dorkbox"
const val version = "6.6"
const val version = "6.7"
// set as project.ext
const val name = "Network"
@ -168,7 +168,7 @@ dependencies {
// https://github.com/dorkbox
api("com.dorkbox:ByteUtilities:1.14")
api("com.dorkbox:ClassUtils:1.2")
api("com.dorkbox:Collections:2.3")
api("com.dorkbox:Collections:2.4")
api("com.dorkbox:JNA:1.0")
api("com.dorkbox:MinLog:2.5")
api("com.dorkbox:NetworkDNS:2.11")
@ -223,7 +223,6 @@ dependencies {
testImplementation("junit:junit:4.13.2")
testImplementation("ch.qos.logback:logback-classic:1.4.5")
testImplementation("io.aeron:aeron-all:$aeronVer")

View File

@ -117,7 +117,7 @@ open class Client<CONNECTION : Connection>(
/**
* Gets the version number.
*/
const val version = "6.6"
const val version = "6.7"
/**
* Ensures that the client (using the specified configuration) is NO LONGER running.

View File

@ -48,7 +48,7 @@ class ServerConfiguration : dorkbox.network.Configuration() {
/**
* Gets the version number.
*/
const val version = "6.6"
const val version = "6.7"
}
/**
@ -420,19 +420,6 @@ abstract class Configuration protected constructor() {
field = value
}
/**
* How often to check if the underlying aeron publication/subscription is connected or not.
*
* Aeron Publications and Subscriptions are, and can be, constantly in flux (because of UDP!).
*
* Too low and it's wasting CPU cycles, too high and there will be some lag when detecting if a connection has been disconnected.
*/
var connectionCheckIntervalNanos = TimeUnit.MILLISECONDS.toNanos(200)
set(value) {
require(!contextDefined) { errorMessage }
field = value
}
/**
* How long a connection must be disconnected (via Aeron) before we actually consider it disconnected.
@ -1063,7 +1050,6 @@ abstract class Configuration protected constructor() {
config.udpId = udpId
config.enableRemoteSignatureValidation = enableRemoteSignatureValidation
config.connectionCloseTimeoutInSeconds = connectionCloseTimeoutInSeconds
config.connectionCheckIntervalNanos = connectionCheckIntervalNanos
config.connectionExpirationTimoutNanos = connectionExpirationTimoutNanos
config.isReliable = isReliable
config.pingTimeoutSeconds = pingTimeoutSeconds
@ -1127,7 +1113,6 @@ abstract class Configuration protected constructor() {
if (enableRemoteSignatureValidation != other.enableRemoteSignatureValidation) return false
if (connectionCloseTimeoutInSeconds != other.connectionCloseTimeoutInSeconds) return false
if (connectionCheckIntervalNanos != other.connectionCheckIntervalNanos) return false
if (connectionExpirationTimoutNanos != other.connectionExpirationTimoutNanos) return false
if (isReliable != other.isReliable) return false
@ -1160,7 +1145,6 @@ abstract class Configuration protected constructor() {
result = 31 * result + udpId
result = 31 * result + pingTimeoutSeconds
result = 31 * result + connectionCloseTimeoutInSeconds
result = 31 * result + connectionCheckIntervalNanos.hashCode()
result = 31 * result + connectionExpirationTimoutNanos.hashCode()
result = 31 * result + isReliable.hashCode()
result = 31 * result + messageDispatch.hashCode()

View File

@ -117,7 +117,7 @@ open class Server<CONNECTION : Connection>(
/**
* Gets the version number.
*/
const val version = "6.6"
const val version = "6.7"
/**
* Ensures that an endpoint (using the specified configuration) is NO LONGER running.