Skip to content

Commit cae1680

Browse files
committed
live view service
1 parent f84b4d9 commit cae1680

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jvmMain/kotlin/spp/protocol/service/live/LiveViewService.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package spp.protocol.service.live
22

3-
import spp.protocol.view.LiveViewSubscription
43
import io.vertx.codegen.annotations.ProxyGen
54
import io.vertx.codegen.annotations.VertxGen
65
import io.vertx.core.AsyncResult
76
import io.vertx.core.Handler
7+
import spp.protocol.view.LiveViewSubscription
88

99
/**
1010
* todo: description.
@@ -17,5 +17,6 @@ import io.vertx.core.Handler
1717
interface LiveViewService {
1818
fun addLiveViewSubscription(subscription: LiveViewSubscription, handler: Handler<AsyncResult<LiveViewSubscription>>)
1919
fun removeLiveViewSubscription(subscriptionId: String, handler: Handler<AsyncResult<LiveViewSubscription>>)
20+
fun getLiveViewSubscriptions(handler: Handler<AsyncResult<List<LiveViewSubscription>>>)
2021
fun clearLiveViewSubscriptions(handler: Handler<AsyncResult<List<LiveViewSubscription>>>)
2122
}

0 commit comments

Comments
 (0)