2021-12-05 15:15:28 +01:00
|
|
|
package it.tdlight.reactiveapi;
|
|
|
|
|
2022-01-09 20:20:20 +01:00
|
|
|
import java.util.List;
|
2021-12-05 23:47:54 +01:00
|
|
|
import java.util.Map;
|
2022-01-09 20:20:20 +01:00
|
|
|
import java.util.Set;
|
2021-12-05 23:47:54 +01:00
|
|
|
import reactor.core.publisher.Mono;
|
|
|
|
|
2022-01-07 23:54:18 +01:00
|
|
|
public interface ReactiveApi {
|
2021-12-05 23:47:54 +01:00
|
|
|
|
2022-01-07 23:54:18 +01:00
|
|
|
Mono<Void> start();
|
2021-12-05 23:47:54 +01:00
|
|
|
|
2022-01-07 23:54:18 +01:00
|
|
|
Mono<CreateSessionResponse> createSession(CreateSessionRequest req);
|
2021-12-05 23:47:54 +01:00
|
|
|
|
2022-06-27 00:06:53 +02:00
|
|
|
ReactiveApiClient client(String subGroupId, long userId);
|
2022-01-09 20:20:20 +01:00
|
|
|
|
2022-01-07 23:54:18 +01:00
|
|
|
Mono<Void> close();
|
2022-06-27 00:06:53 +02:00
|
|
|
|
|
|
|
void waitForExit();
|
2021-12-05 15:15:28 +01:00
|
|
|
}
|