Package 

Class WatchServiceGrpcKt.WatchServiceCoroutineImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService

    
    public abstract class WatchServiceGrpcKt.WatchServiceCoroutineImplBase
    extends AbstractCoroutineServerImpl
                        

    Skeletal implementation of the authzed.api.v1.WatchService service based on Kotlin coroutines.

    • 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 with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • bindService

         final ServerServiceDefinition bindService()