Skip to content

Commit de218a0

Browse files
committed
add getClients/getStats
1 parent b7555fa commit de218a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/jvmMain/kotlin/spp/protocol/service/LiveService.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ package spp.protocol.service
2020
import io.vertx.codegen.annotations.ProxyGen
2121
import io.vertx.codegen.annotations.VertxGen
2222
import io.vertx.core.Future
23+
import io.vertx.core.json.JsonObject
2324
import spp.protocol.platform.developer.SelfInfo
2425
import spp.protocol.platform.general.Service
2526
import spp.protocol.platform.status.ActiveInstance
@@ -33,6 +34,8 @@ import spp.protocol.platform.status.ActiveInstance
3334
@VertxGen
3435
interface LiveService {
3536

37+
fun getClients(): Future<JsonObject>
38+
fun getStats(): Future<JsonObject>
3639
fun getSelf(): Future<SelfInfo>
3740
fun getServices(): Future<List<Service>>
3841
fun getActiveProbes(): Future<List<ActiveInstance>>

0 commit comments

Comments
 (0)