-
- All Implemented Interfaces:
-
io.grpc.BindableService
public abstract class WatchServiceGrpcKt.WatchServiceCoroutineImplBase extends AbstractCoroutineServerImplSkeletal implementation of the authzed.api.v1.WatchService service based on Kotlin coroutines.
-
-
Field Summary
Fields Modifier and Type Field Description private final CoroutineContextcontext
-
Constructor Summary
Constructors Constructor Description WatchServiceGrpcKt.WatchServiceCoroutineImplBase(CoroutineContext coroutineContext)
-
Method Summary
Modifier and Type Method Description Flow<WatchServiceOuterClass.WatchResponse>watch(WatchServiceOuterClass.WatchRequest request)Returns a Flow of responses to an RPC for authzed.api.v1.WatchService.Watch. final ServerServiceDefinitionbindService()-
-
Constructor Detail
-
WatchServiceGrpcKt.WatchServiceCoroutineImplBase
WatchServiceGrpcKt.WatchServiceCoroutineImplBase(CoroutineContext coroutineContext)
-
-
Method Detail
-
watch
Flow<WatchServiceOuterClass.WatchResponse> watch(WatchServiceOuterClass.WatchRequest request)
Returns a Flow of responses to an RPC for authzed.api.v1.WatchService.Watch.
If creating or collecting the returned flow fails with a StatusException, the RPC will fail with the corresponding io.grpc.Status. If it fails with a java.util.concurrent.CancellationException, the RPC will fail with status
Status.CANCELLED. If creating or collecting the returned flow fails for any other reason, the RPC will fail withStatus.UNKNOWNwith the exception as a cause.- Parameters:
request- The request from the client.
-
bindService
final ServerServiceDefinition bindService()
-
-
-
-