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 aCollection
of allMethodDescriptor
s 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 aCollection
of allMethodDescriptor
s for this service.- Returns:
- a
Collection
of allMethodDescriptor
s for this service.
-