File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
src/main/kotlin/org/phoenixframework Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ repositories {
112112and then add the library. See [ releases] ( https://github.com/dsrees/JavaPhoenixClient/releases ) for the latest version
113113``` $xslt
114114dependencies {
115- implementation 'com.github.dsrees:JavaPhoenixClient:1.0.0 '
115+ implementation 'com.github.dsrees:JavaPhoenixClient:1.0.1 '
116116}
117117```
118118
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ apply plugin: "org.jetbrains.dokka"
2525apply plugin : " com.vanniktech.maven.publish"
2626
2727group ' com.github.dsrees'
28- version ' 1.0.0 '
28+ version ' 1.0.1 '
2929
3030sourceCompatibility = 1.8
3131
Original file line number Diff line number Diff line change @@ -293,7 +293,11 @@ class Socket(
293293
294294 /* * @return True if the connection exists and is open */
295295 val isConnected: Boolean
296- get() = this .connection?.readyState == Transport .ReadyState .OPEN
296+ get() = this .connectionState == Transport .ReadyState .OPEN
297+
298+ /* * @return The ready state of the connection. */
299+ val connectionState: Transport .ReadyState
300+ get() = this .connection?.readyState ? : Transport .ReadyState .CLOSED
297301
298302 // ------------------------------------------------------------------------------
299303 // Public
You can’t perform that action at this time.
0 commit comments