File tree 3 files changed +7
-3
lines changed
src/main/kotlin/org/phoenixframework
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ repositories {
112
112
and then add the library. See [ releases] ( https://github.com/dsrees/JavaPhoenixClient/releases ) for the latest version
113
113
``` $xslt
114
114
dependencies {
115
- implementation 'com.github.dsrees:JavaPhoenixClient:1.0.0 '
115
+ implementation 'com.github.dsrees:JavaPhoenixClient:1.0.1 '
116
116
}
117
117
```
118
118
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ apply plugin: "org.jetbrains.dokka"
25
25
apply plugin : " com.vanniktech.maven.publish"
26
26
27
27
group ' com.github.dsrees'
28
- version ' 1.0.0 '
28
+ version ' 1.0.1 '
29
29
30
30
sourceCompatibility = 1.8
31
31
Original file line number Diff line number Diff line change @@ -293,7 +293,11 @@ class Socket(
293
293
294
294
/* * @return True if the connection exists and is open */
295
295
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
297
301
298
302
// ------------------------------------------------------------------------------
299
303
// Public
You can’t perform that action at this time.
0 commit comments