aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-10-08 22:11:21 +0200
committerRobert Jaros <rjaros@finn.pl>2018-10-08 22:11:21 +0200
commit470953c78c2509224bb452c16f8bbea54e53b3d7 (patch)
treee67b9c03d09bb9ff61b387f6267bdeb2eac48b5b /src/main/kotlin/pl/treksoft/kvision
parenteddd58f3f31954809645bdf2222833424c3f9a73 (diff)
downloadkvision-470953c78c2509224bb452c16f8bbea54e53b3d7.tar.gz
kvision-470953c78c2509224bb452c16f8bbea54e53b3d7.tar.bz2
kvision-470953c78c2509224bb452c16f8bbea54e53b3d7.zip
Better server class abstraction.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt (renamed from src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt)4
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt b/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt
index fcd6b0ab..a1cc40ca 100644
--- a/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt
@@ -25,10 +25,10 @@ import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
/**
- * A Jooby based server.
+ * A server.
* Not used on the js platform.
*/
-actual open class JoobyServer
+actual open class KVServer
/**
* A server request.
diff --git a/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt b/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt
index 961bf176..c6487494 100644
--- a/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt
@@ -127,7 +127,7 @@ actual open class ServiceManager<out T> actual constructor(service: T) {
* Applies all defined routes to the given server.
* Not used on the js platform.
*/
- actual fun applyRoutes(k: JoobyServer) {
+ actual fun applyRoutes(k: KVServer) {
}
/**