Package io.servicetalk.grpc.api
Interface GrpcBindableService<S extends GrpcService>
- Type Parameters:
S- Service Type
- All Known Subinterfaces:
Health.BlockingHealthService,Health.HealthService
- All Known Implementing Classes:
DefaultHealthService
public interface GrpcBindableService<S extends GrpcService>
-
Method Summary
Modifier and TypeMethodDescriptionReturn an appropriate service factory bound to this service.Collection<MethodDescriptor<?,?>> Get aCollectionof allMethodDescriptors for this service.
-
Method Details
-
bindService
GrpcServiceFactory<S> bindService()Return an appropriate service factory bound to this service.- Returns:
- A service factory bound to this service with other appropriate configuration.
-
methodDescriptors
Collection<MethodDescriptor<?,?>> methodDescriptors()Get aCollectionof allMethodDescriptors for this service.- Returns:
- a
Collectionof allMethodDescriptors for this service.
-