aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-common/src/main/kotlin
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 /kvision-modules/kvision-common/src/main/kotlin
parenteddd58f3f31954809645bdf2222833424c3f9a73 (diff)
downloadkvision-470953c78c2509224bb452c16f8bbea54e53b3d7.tar.gz
kvision-470953c78c2509224bb452c16f8bbea54e53b3d7.tar.bz2
kvision-470953c78c2509224bb452c16f8bbea54e53b3d7.zip
Better server class abstraction.
Diffstat (limited to 'kvision-modules/kvision-common/src/main/kotlin')
-rw-r--r--kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt (renamed from kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt)4
-rw-r--r--kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt4
2 files changed, 4 insertions, 4 deletions
diff --git a/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt b/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt
index ec348a25..cf822e66 100644
--- a/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/Jooby.kt
+++ b/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/KVServer.kt
@@ -22,9 +22,9 @@
package pl.treksoft.kvision.remote
/**
- * A Jooby based server.
+ * A server.
*/
-expect open class JoobyServer
+expect open class KVServer
/**
* A server request.
diff --git a/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt b/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt
index 8225a785..07f60851 100644
--- a/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt
+++ b/kvision-modules/kvision-common/src/main/kotlin/pl/treksoft/kvision/remote/ServiceManager.kt
@@ -128,9 +128,9 @@ expect open class ServiceManager<out T>(service: T) {
/**
* Applies all defined routes to the given server.
- * @param k a Jooby server
+ * @param k a server
*/
- fun applyRoutes(k: JoobyServer)
+ fun applyRoutes(k: KVServer)
/**
* Returns the map of defined paths.